Pull request #366 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 64f82e933683e29c662cfdfed835d2baed16cd25 rather than cc2fe5c940e704d543e537d7ec4b81ce695bf44a Obtained Jenkinsfile from 64f82e933683e29c662cfdfed835d2baed16cd25 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-ssh16071198435219320947.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh15371848054183197224.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-366/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-366/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13269301684550538245.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-366/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9601343526915440568.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh12619738676965430183.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-366/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-366/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2459725890382984723.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-16033 in /w/workspace/undry_device-onvif-camera_PR-366 [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-366 # 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/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 64f82e933683e29c662cfdfed835d2baed16cd25 into PR head commit cc2fe5c940e704d543e537d7ec4b81ce695bf44a Merge succeeded, producing cc2fe5c940e704d543e537d7ec4b81ce695bf44a Checking out Revision cc2fe5c940e704d543e537d7ec4b81ce695bf44a (PR-366) > git config core.sparsecheckout # timeout=10 > git checkout -f cc2fe5c940e704d543e537d7ec4b81ce695bf44a # 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 64f82e933683e29c662cfdfed835d2baed16cd25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc2fe5c940e704d543e537d7ec4b81ce695bf44a # timeout=10 Commit message: "docs: updated remaining docs from v2 to v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-18T18:40:48.065Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-18T18:40:48.351Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-18T18:40:48.454Z] ========================================================= [2023-05-18T18:40:48.454Z] EdgeX Global Pipelines Version Info [2023-05-18T18:40:48.454Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:40:49.217Z] ------------------- [2023-05-18T18:40:49.217Z] stable info: [2023-05-18T18:40:49.217Z] ------------------- [2023-05-18T18:40:49.217Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-18T18:40:49.217Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-18T18:40:49.217Z] Message: update stable to v1.0.249 [2023-05-18T18:40:49.788Z] ------------------- [2023-05-18T18:40:49.788Z] experimental info: [2023-05-18T18:40:49.788Z] ------------------- [2023-05-18T18:40:49.788Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-18T18:40:49.788Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-18T18:40:49.788Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-18T18:40:50.106Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-18T18:40:50.153Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-18T18:40:50.196Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-18T18:40:50.237Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-18T18:40:50.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-18T18:40:50.323Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-18T18:40:50.368Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-18T18:40:50.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-18T18:40:50.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-18T18:40:50.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-18T18:40:50.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-18T18:40:50.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-18T18:40:50.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-18T18:40:50.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-18T18:40:50.716Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-18T18:40:50.759Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-18T18:40:50.800Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-18T18:40:50.843Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-18T18:40:50.885Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-18T18:40:50.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-18T18:40:50.967Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-18T18:40:51.005Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-05-18T18:40:51.049Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-18T18:40:51.092Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-18T18:40:51.132Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-18T18:40:51.173Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-18T18:40:51.216Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-18T18:40:51.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo [2023-05-18T18:40:51.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo [2023-05-18T18:40:51.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo [2023-05-18T18:40:51.401Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc2fe5c940e704d543e537d7ec4b81ce695bf44a [Pipeline] echo [2023-05-18T18:40:51.458Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc2fe5c [Pipeline] echo [2023-05-18T18:40:51.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-18T18:40:51.624Z] provisioning config files... [2023-05-18T18:40:51.639Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-366@tmp/config10637832186862734193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:40:52.029Z] ---> docker-login.sh [2023-05-18T18:40:52.030Z] nexus3.edgexfoundry.org:10001 [2023-05-18T18:40:52.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:40:52.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:40:52.291Z] Configure a credential helper to remove this warning. See [2023-05-18T18:40:52.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:40:52.291Z] [2023-05-18T18:40:52.291Z] Login Succeeded [2023-05-18T18:40:52.291Z] nexus3.edgexfoundry.org:10002 [2023-05-18T18:40:52.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:40:52.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:40:52.552Z] Configure a credential helper to remove this warning. See [2023-05-18T18:40:52.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:40:52.552Z] [2023-05-18T18:40:52.552Z] Login Succeeded [2023-05-18T18:40:52.552Z] nexus3.edgexfoundry.org:10003 [2023-05-18T18:40:52.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:40:52.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:40:52.552Z] Configure a credential helper to remove this warning. See [2023-05-18T18:40:52.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:40:52.552Z] [2023-05-18T18:40:52.552Z] Login Succeeded [2023-05-18T18:40:52.552Z] nexus3.edgexfoundry.org:10004 [2023-05-18T18:40:52.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:40:52.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:40:52.812Z] Configure a credential helper to remove this warning. See [2023-05-18T18:40:52.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:40:52.812Z] [2023-05-18T18:40:52.812Z] Login Succeeded [2023-05-18T18:40:52.812Z] docker.io [2023-05-18T18:40:52.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:40:53.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:40:53.073Z] Configure a credential helper to remove this warning. See [2023-05-18T18:40:53.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:40:53.073Z] [2023-05-18T18:40:53.073Z] Login Succeeded [2023-05-18T18:40:53.073Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T18:40:53.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-18T18:40:53.709Z] + git rev-list -1 --merges cc2fe5c940e704d543e537d7ec4b81ce695bf44a~1..cc2fe5c940e704d543e537d7ec4b81ce695bf44a [Pipeline] echo [2023-05-18T18:40:53.772Z] -----------> git rev-list -1 --merges cc2fe5c940e704d543e537d7ec4b81ce695bf44a~1..cc2fe5c940e704d543e537d7ec4b81ce695bf44a cc2fe5c940e704d543e537d7ec4b81ce695bf44a [false] [Pipeline] sh [2023-05-18T18:40:54.083Z] + git log --format=format:%s -1 cc2fe5c940e704d543e537d7ec4b81ce695bf44a [Pipeline] echo [2023-05-18T18:40:54.117Z] ========================================================= [2023-05-18T18:40:54.117Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-18T18:40:54.117Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-18T18:40:54.561Z] + git log --format=format:%s -1 cc2fe5c940e704d543e537d7ec4b81ce695bf44a [Pipeline] echo [2023-05-18T18:40:54.599Z] [semverPrep] GIT_COMMIT: cc2fe5c940e704d543e537d7ec4b81ce695bf44a, Commit Message: docs: updated remaining docs from v2 to v3 [Pipeline] echo [2023-05-18T18:40:54.632Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-18T18:40:55.027Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-18T18:40:55.028Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-18T18:40:55.028Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-18T18:40:55.028Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-18T18:40:55.028Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-18T18:40:55.028Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-18T18:40:55.028Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:40:55.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T18:40:55.560Z] [2023-05-18T18:40:55.560Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:40:55.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T18:40:55.939Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-18T18:40:55.939Z] b85a868b505f: Pulling fs layer [2023-05-18T18:40:55.939Z] e2be974225ed: Pulling fs layer [2023-05-18T18:40:55.939Z] 339a4e72a1f5: Pulling fs layer [2023-05-18T18:40:55.939Z] 988bab9f4d93: Pulling fs layer [2023-05-18T18:40:55.939Z] 1469e6f7b9e6: Pulling fs layer [2023-05-18T18:40:55.939Z] eaf3925da568: Pulling fs layer [2023-05-18T18:40:55.939Z] bab4dde63d76: Pulling fs layer [2023-05-18T18:40:55.939Z] bde34c3a00c8: Pulling fs layer [2023-05-18T18:40:55.939Z] b352a97aabf1: Pulling fs layer [2023-05-18T18:40:55.939Z] 4872d77fe225: Pulling fs layer [2023-05-18T18:40:55.939Z] 5851b861e8e6: Pulling fs layer [2023-05-18T18:40:55.939Z] bab4dde63d76: Waiting [2023-05-18T18:40:55.939Z] bde34c3a00c8: Waiting [2023-05-18T18:40:55.939Z] b352a97aabf1: Waiting [2023-05-18T18:40:55.939Z] 988bab9f4d93: Waiting [2023-05-18T18:40:55.939Z] 1469e6f7b9e6: Waiting [2023-05-18T18:40:55.939Z] eaf3925da568: Waiting [2023-05-18T18:40:55.939Z] 4872d77fe225: Waiting [2023-05-18T18:40:55.939Z] 5851b861e8e6: Waiting [2023-05-18T18:40:55.939Z] e2be974225ed: Verifying Checksum [2023-05-18T18:40:55.939Z] e2be974225ed: Download complete [2023-05-18T18:40:55.939Z] 988bab9f4d93: Verifying Checksum [2023-05-18T18:40:55.939Z] 988bab9f4d93: Download complete [2023-05-18T18:40:55.939Z] 1469e6f7b9e6: Verifying Checksum [2023-05-18T18:40:55.939Z] 1469e6f7b9e6: Download complete [2023-05-18T18:40:56.199Z] 339a4e72a1f5: Verifying Checksum [2023-05-18T18:40:56.199Z] 339a4e72a1f5: Download complete [2023-05-18T18:40:56.199Z] eaf3925da568: Verifying Checksum [2023-05-18T18:40:56.199Z] eaf3925da568: Download complete [2023-05-18T18:40:56.199Z] bde34c3a00c8: Verifying Checksum [2023-05-18T18:40:56.199Z] bde34c3a00c8: Download complete [2023-05-18T18:40:56.199Z] b352a97aabf1: Verifying Checksum [2023-05-18T18:40:56.199Z] b352a97aabf1: Download complete [2023-05-18T18:40:56.199Z] 4872d77fe225: Verifying Checksum [2023-05-18T18:40:56.199Z] 4872d77fe225: Download complete [2023-05-18T18:40:56.199Z] 5851b861e8e6: Download complete [2023-05-18T18:40:56.199Z] b85a868b505f: Verifying Checksum [2023-05-18T18:40:56.199Z] b85a868b505f: Download complete [2023-05-18T18:40:56.458Z] bab4dde63d76: Verifying Checksum [2023-05-18T18:40:56.458Z] bab4dde63d76: Download complete [2023-05-18T18:40:57.395Z] b85a868b505f: Pull complete [2023-05-18T18:40:57.654Z] e2be974225ed: Pull complete [2023-05-18T18:40:57.919Z] 339a4e72a1f5: Pull complete [2023-05-18T18:40:58.189Z] 988bab9f4d93: Pull complete [2023-05-18T18:40:58.455Z] 1469e6f7b9e6: Pull complete [2023-05-18T18:40:58.455Z] eaf3925da568: Pull complete [2023-05-18T18:41:00.372Z] bab4dde63d76: Pull complete [2023-05-18T18:41:00.372Z] bde34c3a00c8: Pull complete [2023-05-18T18:41:00.633Z] b352a97aabf1: Pull complete [2023-05-18T18:41:00.633Z] 4872d77fe225: Pull complete [2023-05-18T18:41:00.892Z] 5851b861e8e6: Pull complete [2023-05-18T18:41:00.892Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-18T18:41:00.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T18:41:00.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T18:41:01.139Z] prd-ubuntu20.04-docker-8c-8g-16033 does not seem to be running inside a container [2023-05-18T18:41:01.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-366 -v /w/workspace/undry_device-onvif-camera_PR-366:/w/workspace/undry_device-onvif-camera_PR-366:rw,z -v /w/workspace/undry_device-onvif-camera_PR-366@tmp:/w/workspace/undry_device-onvif-camera_PR-366@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-18T18:41:04.453Z] $ docker top b72490a1206f9e0c3420c8a452b537632c9f7f67771a3cb73c5c524d65434897 -eo pid,comm [2023-05-18T18:41:04.513Z] 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-05-18T18:41:04.513Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-18T18:41:04.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T18:41:04.651Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T18:41:04.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T18:41:04.777Z] $ docker exec b72490a1206f9e0c3420c8a452b537632c9f7f67771a3cb73c5c524d65434897 ssh-agent [2023-05-18T18:41:04.901Z] SSH_AUTH_SOCK=/tmp/ssh-Wbg2Fc6GSGY7/agent.32 [2023-05-18T18:41:04.901Z] SSH_AGENT_PID=38 [2023-05-18T18:41:04.909Z] Running ssh-add (command line suppressed) [2023-05-18T18:41:05.008Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-366@tmp/private_key_17242681974571340485.key (/w/workspace/undry_device-onvif-camera_PR-366@tmp/private_key_17242681974571340485.key) [2023-05-18T18:41:05.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T18:41:05.356Z] + git tag --points-at HEAD [Pipeline] } [2023-05-18T18:41:05.382Z] $ docker exec --env ******** --env ******** b72490a1206f9e0c3420c8a452b537632c9f7f67771a3cb73c5c524d65434897 ssh-agent -k [2023-05-18T18:41:05.475Z] unset SSH_AUTH_SOCK; [2023-05-18T18:41:05.475Z] unset SSH_AGENT_PID; [2023-05-18T18:41:05.475Z] echo Agent pid 38 killed; [2023-05-18T18:41:05.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-18T18:41:05.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T18:41:05.582Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T18:41:05.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T18:41:05.704Z] $ docker exec b72490a1206f9e0c3420c8a452b537632c9f7f67771a3cb73c5c524d65434897 ssh-agent [2023-05-18T18:41:05.831Z] SSH_AUTH_SOCK=/tmp/ssh-fwxasSXSXvIF/agent.70 [2023-05-18T18:41:05.831Z] SSH_AGENT_PID=76 [2023-05-18T18:41:05.836Z] Running ssh-add (command line suppressed) [2023-05-18T18:41:05.947Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-366@tmp/private_key_721131627933571934.key (/w/workspace/undry_device-onvif-camera_PR-366@tmp/private_key_721131627933571934.key) [2023-05-18T18:41:05.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T18:41:06.299Z] + git semver init [2023-05-18T18:41:06.560Z] 2023-05-18 18:41:06,492 [run_init] DEBUG init version:0.0.0 force:False [2023-05-18T18:41:06.560Z] 2023-05-18 18:41:06,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-366/.semver [2023-05-18T18:41:06.560Z] 2023-05-18 18:41:06,493 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-366/.semver [2023-05-18T18:41:06.560Z] 2023-05-18 18:41:06,493 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-366/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-366, universal_newlines=False, shell=None, istream=None) [2023-05-18T18:41:07.501Z] 2023-05-18 18:41:07,465 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-366/.git/info/exclude [2023-05-18T18:41:07.501Z] 2023-05-18 18:41:07,466 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-366/.semver/PR-366 with force:False [2023-05-18T18:41:07.501Z] 2023-05-18 18:41:07,466 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-366/.semver/PR-366 [2023-05-18T18:41:07.501Z] 2023-05-18 18:41:07,470 [execute] INFO git cat-file --batch-check [2023-05-18T18:41:07.501Z] 2023-05-18 18:41:07,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-366/.semver, universal_newlines=False, shell=None, istream=) [2023-05-18T18:41:07.501Z] 2023-05-18 18:41:07,478 [execute] INFO git cat-file --batch [2023-05-18T18:41:07.501Z] 2023-05-18 18:41:07,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-366/.semver, universal_newlines=False, shell=None, istream=) [2023-05-18T18:41:07.501Z] 2023-05-18 18:41:07,483 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-366/.semver/PR-366 [2023-05-18T18:41:07.501Z] 0.0.0 [Pipeline] } [2023-05-18T18:41:07.777Z] $ docker exec --env ******** --env ******** b72490a1206f9e0c3420c8a452b537632c9f7f67771a3cb73c5c524d65434897 ssh-agent -k [2023-05-18T18:41:07.882Z] unset SSH_AUTH_SOCK; [2023-05-18T18:41:07.884Z] unset SSH_AGENT_PID; [2023-05-18T18:41:07.884Z] echo Agent pid 76 killed; [2023-05-18T18:41:07.894Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-18T18:41:08.317Z] + git semver [Pipeline] } [2023-05-18T18:41:08.600Z] $ docker stop --time=1 b72490a1206f9e0c3420c8a452b537632c9f7f67771a3cb73c5c524d65434897 [2023-05-18T18:41:09.887Z] $ docker rm -f --volumes b72490a1206f9e0c3420c8a452b537632c9f7f67771a3cb73c5c524d65434897 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T18:41:10.286Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-18T18:41:10.567Z] Stashed 1 file(s) [Pipeline] echo [2023-05-18T18:41:10.587Z] [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-05-18T18:41:11.216Z] provisioning config files... [2023-05-18T18:41:11.231Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-366@tmp/config2085702495486080207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:41:11.582Z] ---> docker-login.sh [2023-05-18T18:41:11.582Z] nexus3.edgexfoundry.org:10001 [2023-05-18T18:41:11.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:41:11.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:41:11.582Z] Configure a credential helper to remove this warning. See [2023-05-18T18:41:11.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:41:11.582Z] [2023-05-18T18:41:11.582Z] Login Succeeded [2023-05-18T18:41:11.582Z] nexus3.edgexfoundry.org:10002 [2023-05-18T18:41:11.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:41:11.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:41:11.582Z] Configure a credential helper to remove this warning. See [2023-05-18T18:41:11.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:41:11.582Z] [2023-05-18T18:41:11.582Z] Login Succeeded [2023-05-18T18:41:11.582Z] nexus3.edgexfoundry.org:10003 [2023-05-18T18:41:11.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:41:11.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:41:11.841Z] Configure a credential helper to remove this warning. See [2023-05-18T18:41:11.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:41:11.841Z] [2023-05-18T18:41:11.841Z] Login Succeeded [2023-05-18T18:41:11.841Z] nexus3.edgexfoundry.org:10004 [2023-05-18T18:41:11.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:41:11.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:41:11.841Z] Configure a credential helper to remove this warning. See [2023-05-18T18:41:11.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:41:11.841Z] [2023-05-18T18:41:11.841Z] Login Succeeded [2023-05-18T18:41:11.841Z] docker.io [2023-05-18T18:41:12.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:41:12.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:41:12.360Z] Configure a credential helper to remove this warning. See [2023-05-18T18:41:12.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:41:12.360Z] [2023-05-18T18:41:12.360Z] Login Succeeded [2023-05-18T18:41:12.360Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T18:41:12.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-18T18:41:12.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T18:41:12.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T18:41:12.655Z] ========================================================= [2023-05-18T18:41:12.655Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-18T18:41:12.655Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:41:13.132Z] + 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-05-18T18:41:13.133Z] Sending build context to Docker daemon 21.98MB [2023-05-18T18:41:13.133Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T18:41:13.133Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-18T18:41:13.416Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-18T18:41:13.416Z] f56be85fc22e: Pulling fs layer [2023-05-18T18:41:13.416Z] 85791d961cd3: Pulling fs layer [2023-05-18T18:41:13.416Z] d694b5ae8c79: Pulling fs layer [2023-05-18T18:41:13.416Z] 9f32a84ed3da: Pulling fs layer [2023-05-18T18:41:13.416Z] 4d19c01a9841: Pulling fs layer [2023-05-18T18:41:13.416Z] 9325e15d5711: Pulling fs layer [2023-05-18T18:41:13.416Z] 556b6ee489ea: Pulling fs layer [2023-05-18T18:41:13.416Z] 4d19c01a9841: Waiting [2023-05-18T18:41:13.416Z] 9325e15d5711: Waiting [2023-05-18T18:41:13.416Z] 9f32a84ed3da: Waiting [2023-05-18T18:41:13.416Z] c5a4b2cf53e6: Pulling fs layer [2023-05-18T18:41:13.416Z] 556b6ee489ea: Waiting [2023-05-18T18:41:13.416Z] c5a4b2cf53e6: Waiting [2023-05-18T18:41:13.416Z] 85791d961cd3: Download complete [2023-05-18T18:41:13.416Z] 9f32a84ed3da: Verifying Checksum [2023-05-18T18:41:13.416Z] 9f32a84ed3da: Download complete [2023-05-18T18:41:13.416Z] 4d19c01a9841: Download complete [2023-05-18T18:41:13.416Z] f56be85fc22e: Verifying Checksum [2023-05-18T18:41:13.416Z] f56be85fc22e: Download complete [2023-05-18T18:41:13.416Z] 9325e15d5711: Verifying Checksum [2023-05-18T18:41:13.416Z] 9325e15d5711: Download complete [2023-05-18T18:41:13.683Z] f56be85fc22e: Pull complete [2023-05-18T18:41:13.683Z] 85791d961cd3: Pull complete [2023-05-18T18:41:13.944Z] c5a4b2cf53e6: Verifying Checksum [2023-05-18T18:41:13.944Z] c5a4b2cf53e6: Download complete [2023-05-18T18:41:13.944Z] d694b5ae8c79: Verifying Checksum [2023-05-18T18:41:13.944Z] d694b5ae8c79: Download complete [2023-05-18T18:41:14.206Z] 556b6ee489ea: Verifying Checksum [2023-05-18T18:41:14.206Z] 556b6ee489ea: Download complete [2023-05-18T18:41:18.401Z] d694b5ae8c79: Pull complete [2023-05-18T18:41:18.401Z] 9f32a84ed3da: Pull complete [2023-05-18T18:41:18.401Z] 4d19c01a9841: Pull complete [2023-05-18T18:41:18.401Z] 9325e15d5711: Pull complete [2023-05-18T18:41:20.303Z] 556b6ee489ea: Pull complete [2023-05-18T18:41:21.235Z] c5a4b2cf53e6: Pull complete [2023-05-18T18:41:21.499Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-18T18:41:21.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-18T18:41:21.499Z] ---> c4be618373d6 [2023-05-18T18:41:21.499Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-18T18:41:26.025Z] Still waiting to schedule task [2023-05-18T18:41:26.026Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-18T18:41:26.784Z] ---> Running in ed34ab2b315b [2023-05-18T18:41:26.784Z] Removing intermediate container ed34ab2b315b [2023-05-18T18:41:26.784Z] ---> bcf70298a395 [2023-05-18T18:41:26.784Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T18:41:26.784Z] ---> Running in 34f1b08a7f05 [2023-05-18T18:41:26.784Z] Removing intermediate container 34f1b08a7f05 [2023-05-18T18:41:26.784Z] ---> e137d6a355bf [2023-05-18T18:41:26.784Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-18T18:41:26.784Z] ---> Running in 0e1a7f5602dc [2023-05-18T18:41:26.784Z] Removing intermediate container 0e1a7f5602dc [2023-05-18T18:41:26.784Z] ---> 005fad173869 [2023-05-18T18:41:26.784Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T18:41:26.784Z] ---> Running in 7afe53ca0901 [2023-05-18T18:41:26.784Z] Removing intermediate container 7afe53ca0901 [2023-05-18T18:41:26.784Z] ---> 04aa8e5f8b2f [2023-05-18T18:41:26.784Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-18T18:41:26.784Z] ---> Running in c8b96d1bd52a [2023-05-18T18:41:26.784Z] Removing intermediate container c8b96d1bd52a [2023-05-18T18:41:26.784Z] ---> e99fcfe07de2 [2023-05-18T18:41:26.784Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T18:41:26.784Z] ---> Running in 0150821fb45e [2023-05-18T18:41:26.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-18T18:41:27.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-18T18:41:27.305Z] OK: 265 MiB in 53 packages [2023-05-18T18:41:27.565Z] Removing intermediate container 0150821fb45e [2023-05-18T18:41:27.565Z] ---> b5c3d5703df6 [2023-05-18T18:41:27.565Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-18T18:41:27.565Z] ---> Running in 291f8d888337 [2023-05-18T18:41:27.565Z] Removing intermediate container 291f8d888337 [2023-05-18T18:41:27.565Z] ---> 6a50dc177b5e [2023-05-18T18:41:27.565Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-18T18:41:27.828Z] ---> 63d744d81c7a [2023-05-18T18:41:27.828Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T18:41:27.828Z] ---> Running in cd7635351374 [2023-05-18T18:42:24.093Z] Removing intermediate container cd7635351374 [2023-05-18T18:42:24.093Z] ---> a955f65d08ee [2023-05-18T18:42:24.093Z] Step 12/13 : COPY . . [2023-05-18T18:42:24.093Z] ---> 4e49fc4db2f9 [2023-05-18T18:42:24.093Z] Step 13/13 : RUN ${MAKE} [2023-05-18T18:42:24.093Z] ---> Running in 852b1186f8b7 [2023-05-18T18:42:24.093Z] noop [2023-05-18T18:42:24.093Z] Removing intermediate container 852b1186f8b7 [2023-05-18T18:42:24.093Z] ---> 97860aff7165 [2023-05-18T18:42:24.093Z] Successfully built 97860aff7165 [2023-05-18T18:42:24.093Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:42:24.559Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-18T18:42:24.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T18:42:24.807Z] prd-ubuntu20.04-docker-8c-8g-16033 does not seem to be running inside a container [2023-05-18T18:42:24.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-366 -v /w/workspace/undry_device-onvif-camera_PR-366:/w/workspace/undry_device-onvif-camera_PR-366:rw,z -v /w/workspace/undry_device-onvif-camera_PR-366@tmp:/w/workspace/undry_device-onvif-camera_PR-366@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-18T18:42:25.176Z] $ docker top 013640e8d7c9f9aab621ca1001d2a0cfd94705984cd5a9c77e354fc37a83e6bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T18:42:25.576Z] + go version [2023-05-18T18:42:25.576Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-18T18:42:25.611Z] $ docker stop --time=1 013640e8d7c9f9aab621ca1001d2a0cfd94705984cd5a9c77e354fc37a83e6bf [2023-05-18T18:42:26.900Z] $ docker rm -f --volumes 013640e8d7c9f9aab621ca1001d2a0cfd94705984cd5a9c77e354fc37a83e6bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:42:27.652Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-18T18:42:27.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T18:42:27.804Z] prd-ubuntu20.04-docker-8c-8g-16033 does not seem to be running inside a container [2023-05-18T18:42:27.837Z] $ 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-366 -v /w/workspace/undry_device-onvif-camera_PR-366:/w/workspace/undry_device-onvif-camera_PR-366:rw,z -v /w/workspace/undry_device-onvif-camera_PR-366@tmp:/w/workspace/undry_device-onvif-camera_PR-366@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-18T18:42:28.150Z] $ docker top abe859f2abab869bb9c01231ad1e56d7aaf72ceea65a87eb7134631fdeaa6710 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T18:42:28.553Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-366 [Pipeline] fileExists [Pipeline] sh [2023-05-18T18:42:28.919Z] + make test [2023-05-18T18:42:28.919Z] go test ./... -coverprofile=coverage.out ./... [2023-05-18T18:42:33.109Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-18T18:42:43.105Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-18T18:42:43.671Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-18T18:42:46.206Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 31.4% of statements [2023-05-18T18:42:46.206Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.360s coverage: 86.5% of statements [2023-05-18T18:42:52.763Z] go vet ./... [2023-05-18T18:42:56.088Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-18T18:42:56.088Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-18T18:42:56.088Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-18T18:42:56.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-18T18:42:56.294Z] $ docker stop --time=1 abe859f2abab869bb9c01231ad1e56d7aaf72ceea65a87eb7134631fdeaa6710 [2023-05-18T18:42:59.732Z] $ docker rm -f --volumes abe859f2abab869bb9c01231ad1e56d7aaf72ceea65a87eb7134631fdeaa6710 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T18:43:00.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-18T18:43:00.369Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-18T18:43:01.071Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-18T18:43:01.450Z] + ls -al . [2023-05-18T18:43:01.450Z] total 232 [2023-05-18T18:43:01.450Z] drwxrwxr-x 10 jenkins jenkins 4096 May 18 18:42 . [2023-05-18T18:43:01.450Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:40 .. [2023-05-18T18:43:01.450Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 18:41 .git [2023-05-18T18:43:01.450Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:40 .github [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 496 May 18 18:40 .gitignore [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 42 May 18 18:40 .golangci.yml [2023-05-18T18:43:01.450Z] drwxr-xr-x 3 jenkins jenkins 4096 May 18 18:41 .semver [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 18 18:40 Attribution.txt [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 18 18:40 CHANGELOG.md [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 18 18:40 Dockerfile [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 677 May 18 18:40 GOVERNANCE.md [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 739 May 18 18:40 Jenkinsfile [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 18 18:40 LICENSE [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 18 18:40 Makefile [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 625 May 18 18:40 OWNERS.md [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 18 18:40 README.md [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 5 May 18 18:41 VERSION [2023-05-18T18:43:01.450Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 18:40 bin [2023-05-18T18:43:01.450Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:40 cmd [2023-05-18T18:43:01.450Z] -rw-r--r-- 1 jenkins jenkins 78459 May 18 18:42 coverage.out [2023-05-18T18:43:01.450Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:40 doc [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 18 18:40 go.mod [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 18 18:40 go.sum [2023-05-18T18:43:01.450Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:40 internal [2023-05-18T18:43:01.450Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:40 snap [2023-05-18T18:43:01.450Z] -rw-rw-r-- 1 jenkins jenkins 236 May 18 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:43:01.846Z] + 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=cc2fe5c940e704d543e537d7ec4b81ce695bf44a --label arch=amd64 --label version=0.0.0 . [2023-05-18T18:43:01.846Z] Sending build context to Docker daemon 22.06MB [2023-05-18T18:43:01.846Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T18:43:01.846Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-18T18:43:01.846Z] ---> 97860aff7165 [2023-05-18T18:43:01.846Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-18T18:43:02.105Z] ---> Running in 265a85e2befe [2023-05-18T18:43:02.364Z] Removing intermediate container 265a85e2befe [2023-05-18T18:43:02.364Z] ---> bcc62c5b01ac [2023-05-18T18:43:02.364Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T18:43:02.364Z] ---> Running in 72c85630e5a1 [2023-05-18T18:43:02.364Z] Removing intermediate container 72c85630e5a1 [2023-05-18T18:43:02.364Z] ---> 193543c266ce [2023-05-18T18:43:02.364Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-18T18:43:02.364Z] ---> Running in a330fb9e32a5 [2023-05-18T18:43:02.364Z] Removing intermediate container a330fb9e32a5 [2023-05-18T18:43:02.364Z] ---> 88e336a62ad8 [2023-05-18T18:43:02.364Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T18:43:02.364Z] ---> Running in f72fa9fee49f [2023-05-18T18:43:02.623Z] Removing intermediate container f72fa9fee49f [2023-05-18T18:43:02.623Z] ---> be5c07b2cf2b [2023-05-18T18:43:02.623Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-18T18:43:02.623Z] ---> Running in 2cb7934b6339 [2023-05-18T18:43:02.623Z] Removing intermediate container 2cb7934b6339 [2023-05-18T18:43:02.623Z] ---> f5623968a029 [2023-05-18T18:43:02.623Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T18:43:02.623Z] ---> Running in 49ff8222ba2b [2023-05-18T18:43:02.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-18T18:43:02.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-18T18:43:03.143Z] OK: 265 MiB in 53 packages [2023-05-18T18:43:03.402Z] Removing intermediate container 49ff8222ba2b [2023-05-18T18:43:03.402Z] ---> 11198728042a [2023-05-18T18:43:03.402Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-18T18:43:03.402Z] ---> Running in 1dcd2f7fadf7 [2023-05-18T18:43:03.402Z] Removing intermediate container 1dcd2f7fadf7 [2023-05-18T18:43:03.402Z] ---> ccb458acbd6f [2023-05-18T18:43:03.402Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-18T18:43:03.662Z] ---> eed4d95e3cc1 [2023-05-18T18:43:03.662Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T18:43:03.662Z] ---> Running in 312c00226cf0 [2023-05-18T18:43:04.595Z] Removing intermediate container 312c00226cf0 [2023-05-18T18:43:04.595Z] ---> 45700e71b7f0 [2023-05-18T18:43:04.595Z] Step 12/26 : COPY . . [2023-05-18T18:43:05.553Z] ---> 7a4fa77451c3 [2023-05-18T18:43:05.553Z] Step 13/26 : RUN ${MAKE} [2023-05-18T18:43:05.553Z] ---> Running in a493980292fc [2023-05-18T18:43:05.553Z] 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-05-18T18:43:14.135Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16034 in /w/workspace/undry_device-onvif-camera_PR-366 [Pipeline] { [Pipeline] ws [2023-05-18T18:43:14.201Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-18T18:43:14.359Z] The recommended git tool is: git [2023-05-18T18:43:20.561Z] using credential edgex-jenkins-ssh [2023-05-18T18:43:20.605Z] Cloning the remote Git repository [2023-05-18T18:43:20.666Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-18T18:43:20.786Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-18T18:43:20.975Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-18T18:43:20.976Z] > git --version # timeout=10 [2023-05-18T18:43:21.003Z] > git --version # 'git version 2.25.1' [2023-05-18T18:43:21.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-18T18:43:21.195Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-18T18:43:22.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-18T18:43:22.961Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-18T18:43:24.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-18T18:43:24.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-18T18:43:24.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-18T18:43:24.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-18T18:43:24.760Z] Merging remotes/origin/main commit 64f82e933683e29c662cfdfed835d2baed16cd25 into PR head commit cc2fe5c940e704d543e537d7ec4b81ce695bf44a [2023-05-18T18:43:25.232Z] Merge succeeded, producing cc2fe5c940e704d543e537d7ec4b81ce695bf44a [2023-05-18T18:43:25.233Z] Checking out Revision cc2fe5c940e704d543e537d7ec4b81ce695bf44a (PR-366) [2023-05-18T18:43:24.783Z] > git config core.sparsecheckout # timeout=10 [2023-05-18T18:43:24.876Z] > git checkout -f cc2fe5c940e704d543e537d7ec4b81ce695bf44a # timeout=10 [2023-05-18T18:43:25.101Z] > git remote # timeout=10 [2023-05-18T18:43:25.125Z] > git config --get remote.origin.url # timeout=10 [2023-05-18T18:43:25.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-18T18:43:25.175Z] > git merge 64f82e933683e29c662cfdfed835d2baed16cd25 # timeout=10 [2023-05-18T18:43:25.213Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-18T18:43:25.241Z] > git config core.sparsecheckout # timeout=10 [2023-05-18T18:43:25.259Z] > git checkout -f cc2fe5c940e704d543e537d7ec4b81ce695bf44a # timeout=10 [2023-05-18T18:43:27.483Z] Removing intermediate container a493980292fc [2023-05-18T18:43:27.483Z] ---> 5b379af29d1c [2023-05-18T18:43:27.483Z] Step 14/26 : FROM alpine:3.17 [2023-05-18T18:43:27.483Z] 3.17: Pulling from library/alpine [2023-05-18T18:43:27.483Z] f56be85fc22e: Already exists [2023-05-18T18:43:27.483Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-18T18:43:27.483Z] Status: Downloaded newer image for alpine:3.17 [2023-05-18T18:43:27.483Z] ---> 9ed4aefc74f6 [2023-05-18T18:43:27.483Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-18T18:43:27.483Z] ---> Running in 61eea5dbb5a9 [2023-05-18T18:43:27.483Z] Removing intermediate container 61eea5dbb5a9 [2023-05-18T18:43:27.483Z] ---> b7fde0e98914 [2023-05-18T18:43:27.483Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-18T18:43:27.483Z] ---> Running in 451373e891e1 [2023-05-18T18:43:27.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-18T18:43:27.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-18T18:43:27.483Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-18T18:43:27.483Z] Executing busybox-1.35.0-r29.trigger [2023-05-18T18:43:27.483Z] OK: 7 MiB in 16 packages [2023-05-18T18:43:27.483Z] Removing intermediate container 451373e891e1 [2023-05-18T18:43:27.483Z] ---> 80fa3ce613be [2023-05-18T18:43:27.483Z] Step 17/26 : WORKDIR / [2023-05-18T18:43:27.483Z] ---> Running in e3c31308f673 [2023-05-18T18:43:27.483Z] Removing intermediate container e3c31308f673 [2023-05-18T18:43:27.483Z] ---> 6164d62fdb3f [2023-05-18T18:43:27.483Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-18T18:43:27.483Z] ---> d4cfd506fc95 [2023-05-18T18:43:27.483Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-18T18:43:27.483Z] ---> 7440b9e73aad [2023-05-18T18:43:27.483Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-18T18:43:27.483Z] ---> e26fafb1ea57 [2023-05-18T18:43:27.483Z] Step 21/26 : EXPOSE 59984 [2023-05-18T18:43:27.483Z] ---> Running in daa2f74cc6ee [2023-05-18T18:43:27.483Z] Removing intermediate container daa2f74cc6ee [2023-05-18T18:43:27.483Z] ---> db6e55b62c24 [2023-05-18T18:43:27.483Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-18T18:43:27.483Z] ---> Running in f3d78f33d883 [2023-05-18T18:43:27.483Z] Removing intermediate container f3d78f33d883 [2023-05-18T18:43:27.483Z] ---> c8e3173f6cc2 [2023-05-18T18:43:27.483Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-18T18:43:27.483Z] ---> Running in 1ff92b5223b4 [2023-05-18T18:43:27.483Z] Removing intermediate container 1ff92b5223b4 [2023-05-18T18:43:27.483Z] ---> 2da23d39cdce [2023-05-18T18:43:27.483Z] Step 24/26 : LABEL arch=amd64 [2023-05-18T18:43:27.483Z] ---> Running in b3308eb85b1d [2023-05-18T18:43:27.483Z] Removing intermediate container b3308eb85b1d [2023-05-18T18:43:27.483Z] ---> e4e090e7bf68 [2023-05-18T18:43:27.483Z] Step 25/26 : LABEL git_sha=cc2fe5c940e704d543e537d7ec4b81ce695bf44a [2023-05-18T18:43:27.483Z] ---> Running in 715a78aae03f [2023-05-18T18:43:27.483Z] Removing intermediate container 715a78aae03f [2023-05-18T18:43:27.483Z] ---> a41713c509e1 [2023-05-18T18:43:27.483Z] Step 26/26 : LABEL version=0.0.0 [2023-05-18T18:43:27.483Z] ---> Running in f1880d4b10df [2023-05-18T18:43:27.483Z] Removing intermediate container f1880d4b10df [2023-05-18T18:43:27.483Z] ---> 49c2e8629c84 [2023-05-18T18:43:27.483Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-18T18:43:27.483Z] Successfully built 49c2e8629c84 [2023-05-18T18:43:27.483Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [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-05-18T18:43:28.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T18:43:28.433Z] [2023-05-18T18:43:28.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:43:28.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T18:43:28.828Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-18T18:43:28.828Z] 5eb5b503b376: Pulling fs layer [2023-05-18T18:43:28.828Z] 5c69ac0246d0: Pulling fs layer [2023-05-18T18:43:28.828Z] ec43610c2a17: Pulling fs layer [2023-05-18T18:43:28.828Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-18T18:43:28.828Z] 33b1e0a273af: Pulling fs layer [2023-05-18T18:43:28.828Z] 5d3b04190fa2: Pulling fs layer [2023-05-18T18:43:28.828Z] 3a2ae6a8a46f: Waiting [2023-05-18T18:43:28.828Z] 33b1e0a273af: Waiting [2023-05-18T18:43:28.828Z] 2f39f015ded8: Pulling fs layer [2023-05-18T18:43:28.828Z] 5d3b04190fa2: Waiting [2023-05-18T18:43:28.828Z] 2f39f015ded8: Waiting [2023-05-18T18:43:28.828Z] 5c69ac0246d0: Verifying Checksum [2023-05-18T18:43:28.828Z] 5c69ac0246d0: Download complete [2023-05-18T18:43:28.828Z] 3a2ae6a8a46f: Download complete [2023-05-18T18:43:28.828Z] 33b1e0a273af: Verifying Checksum [2023-05-18T18:43:28.828Z] 33b1e0a273af: Download complete [2023-05-18T18:43:28.828Z] 5d3b04190fa2: Verifying Checksum [2023-05-18T18:43:28.828Z] 5d3b04190fa2: Download complete [2023-05-18T18:43:28.828Z] ec43610c2a17: Verifying Checksum [2023-05-18T18:43:28.828Z] ec43610c2a17: Download complete [2023-05-18T18:43:28.844Z] Commit message: "docs: updated remaining docs from v2 to v3" [2023-05-18T18:43:28.905Z] > git --version # timeout=10 [2023-05-18T18:43:28.917Z] > git --version # 'git version 2.25.1' [2023-05-18T18:43:28.932Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-18T18:43:29.086Z] 5eb5b503b376: Download complete [2023-05-18T18:43:29.357Z] [2023-05-18T18:43:29.357Z] GitHub has been notified of this commit’s build result [2023-05-18T18:43:29.357Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-18T18:43:29.653Z] 2f39f015ded8: Download complete [2023-05-18T18:43:30.137Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-18T18:43:30.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-18T18:43:30.137Z] Dload Upload Total Spent Left Speed [2023-05-18T18:43:30.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91078 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 90432 [2023-05-18T18:43:30.220Z] 5eb5b503b376: Pull complete [2023-05-18T18:43:30.220Z] 5c69ac0246d0: Pull complete [Pipeline] sh [2023-05-18T18:43:30.789Z] ec43610c2a17: Pull complete [2023-05-18T18:43:30.789Z] 3a2ae6a8a46f: Pull complete [2023-05-18T18:43:30.789Z] 33b1e0a273af: Pull complete [2023-05-18T18:43:30.852Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-18T18:43:31.048Z] 5d3b04190fa2: Pull complete [2023-05-18T18:43:31.206Z] + sudo tee /etc/docker/daemon.new [2023-05-18T18:43:31.206Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-18T18:43:31.206Z] { [2023-05-18T18:43:31.206Z] "registry-mirrors": [ [2023-05-18T18:43:31.206Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-18T18:43:31.206Z] ], [2023-05-18T18:43:31.206Z] "bip": "10.250.0.254/24", [2023-05-18T18:43:31.206Z] "hosts": [ [2023-05-18T18:43:31.206Z] "tcp://0.0.0.0:5555", [2023-05-18T18:43:31.206Z] "unix:///var/run/docker.sock" [2023-05-18T18:43:31.206Z] ], [2023-05-18T18:43:31.206Z] "mtu": 1458, [2023-05-18T18:43:31.206Z] "selinux-enabled": true, [2023-05-18T18:43:31.206Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-18T18:43:31.206Z] } [Pipeline] sh [2023-05-18T18:43:31.571Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-18T18:43:31.945Z] + sudo service docker restart [2023-05-18T18:43:35.232Z] 2f39f015ded8: Pull complete [2023-05-18T18:43:35.232Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-18T18:43:35.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T18:43:35.232Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T18:43:35.475Z] prd-ubuntu20.04-docker-8c-8g-16033 does not seem to be running inside a container [2023-05-18T18:43:35.507Z] $ 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-366 -v /w/workspace/undry_device-onvif-camera_PR-366:/w/workspace/undry_device-onvif-camera_PR-366:rw,z -v /w/workspace/undry_device-onvif-camera_PR-366@tmp:/w/workspace/undry_device-onvif-camera_PR-366@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-18T18:43:39.723Z] $ docker top 9f1d0e47ef41680af6e6194b880a132b9f2061e5c98657562d241c168ea623ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:43:40.209Z] ---> job-cost.sh [2023-05-18T18:43:40.209Z] lf-activate-venv: SKIPPING [2023-05-18T18:43:40.209Z] INFO: No Stack... [2023-05-18T18:43:40.468Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-18T18:43:40.728Z] INFO: Archiving Costs [Pipeline] sh [2023-05-18T18:43:41.054Z] + cat /w/workspace/undry_device-onvif-camera_PR-366/archives/cost.csv [2023-05-18T18:43:41.054Z] + cut -d, -f6 [Pipeline] lock [2023-05-18T18:43:41.100Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-366-1-stack-cost] [2023-05-18T18:43:41.104Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-366-1-stack-cost] did not exist. Created. [2023-05-18T18:43:41.105Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-18T18:43:41.523Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-18T18:43:41.574Z] Stashed 1 file(s) [Pipeline] } [2023-05-18T18:43:41.619Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-18T18:43:41.707Z] $ docker stop --time=1 9f1d0e47ef41680af6e6194b880a132b9f2061e5c98657562d241c168ea623ce [2023-05-18T18:43:42.866Z] $ docker rm -f --volumes 9f1d0e47ef41680af6e6194b880a132b9f2061e5c98657562d241c168ea623ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-18T18:43:50.312Z] provisioning config files... [2023-05-18T18:43:50.344Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4130932245651272416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:43:50.768Z] ---> docker-login.sh [2023-05-18T18:43:50.768Z] nexus3.edgexfoundry.org:10001 [2023-05-18T18:43:51.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:43:51.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:43:51.365Z] Configure a credential helper to remove this warning. See [2023-05-18T18:43:51.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:43:51.365Z] [2023-05-18T18:43:51.365Z] Login Succeeded [2023-05-18T18:43:51.365Z] nexus3.edgexfoundry.org:10002 [2023-05-18T18:43:51.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:43:51.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:43:51.909Z] Configure a credential helper to remove this warning. See [2023-05-18T18:43:51.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:43:51.909Z] [2023-05-18T18:43:51.909Z] Login Succeeded [2023-05-18T18:43:51.909Z] nexus3.edgexfoundry.org:10003 [2023-05-18T18:43:52.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:43:52.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:43:52.184Z] Configure a credential helper to remove this warning. See [2023-05-18T18:43:52.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:43:52.184Z] [2023-05-18T18:43:52.184Z] Login Succeeded [2023-05-18T18:43:52.184Z] nexus3.edgexfoundry.org:10004 [2023-05-18T18:43:52.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:43:52.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:43:52.735Z] Configure a credential helper to remove this warning. See [2023-05-18T18:43:52.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:43:52.735Z] [2023-05-18T18:43:52.735Z] Login Succeeded [2023-05-18T18:43:52.735Z] docker.io [2023-05-18T18:43:53.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T18:43:53.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T18:43:53.281Z] Configure a credential helper to remove this warning. See [2023-05-18T18:43:53.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T18:43:53.281Z] [2023-05-18T18:43:53.281Z] Login Succeeded [2023-05-18T18:43:53.281Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T18:43:53.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-18T18:43:53.742Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T18:43:53.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T18:43:53.820Z] ========================================================= [2023-05-18T18:43:53.820Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-18T18:43:53.820Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:43:54.334Z] + 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-05-18T18:43:56.323Z] Sending build context to Docker daemon 14.46MB [2023-05-18T18:43:56.323Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T18:43:56.323Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-18T18:43:56.323Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-18T18:43:56.323Z] c41833b44d91: Pulling fs layer [2023-05-18T18:43:56.323Z] ed15518f5707: Pulling fs layer [2023-05-18T18:43:56.323Z] feae8fd75edb: Pulling fs layer [2023-05-18T18:43:56.323Z] 242c74f7c9fa: Pulling fs layer [2023-05-18T18:43:56.323Z] 3cdef696dda3: Pulling fs layer [2023-05-18T18:43:56.323Z] 2ced38df9373: Pulling fs layer [2023-05-18T18:43:56.323Z] 3cdef696dda3: Waiting [2023-05-18T18:43:56.323Z] 242c74f7c9fa: Waiting [2023-05-18T18:43:56.323Z] 2ced38df9373: Waiting [2023-05-18T18:43:56.323Z] 58f1dce35555: Pulling fs layer [2023-05-18T18:43:56.323Z] 58f1dce35555: Waiting [2023-05-18T18:43:56.323Z] ed15518f5707: Verifying Checksum [2023-05-18T18:43:56.323Z] ed15518f5707: Download complete [2023-05-18T18:43:56.323Z] 242c74f7c9fa: Verifying Checksum [2023-05-18T18:43:56.323Z] 242c74f7c9fa: Download complete [2023-05-18T18:43:56.604Z] 3cdef696dda3: Verifying Checksum [2023-05-18T18:43:56.604Z] 3cdef696dda3: Download complete [2023-05-18T18:43:56.604Z] c41833b44d91: Verifying Checksum [2023-05-18T18:43:56.604Z] c41833b44d91: Download complete [2023-05-18T18:43:57.596Z] c41833b44d91: Pull complete [2023-05-18T18:43:57.872Z] 58f1dce35555: Verifying Checksum [2023-05-18T18:43:57.872Z] 58f1dce35555: Download complete [2023-05-18T18:43:58.470Z] ed15518f5707: Pull complete [2023-05-18T18:43:59.062Z] feae8fd75edb: Verifying Checksum [2023-05-18T18:43:59.062Z] feae8fd75edb: Download complete [2023-05-18T18:43:59.333Z] 2ced38df9373: Verifying Checksum [2023-05-18T18:43:59.333Z] 2ced38df9373: Download complete [2023-05-18T18:44:11.697Z] feae8fd75edb: Pull complete [2023-05-18T18:44:11.697Z] 242c74f7c9fa: Pull complete [2023-05-18T18:44:11.697Z] 3cdef696dda3: Pull complete [2023-05-18T18:44:17.080Z] 2ced38df9373: Pull complete [2023-05-18T18:44:19.674Z] 58f1dce35555: Pull complete [2023-05-18T18:44:19.674Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-18T18:44:19.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-18T18:44:19.674Z] ---> fadd8f120f05 [2023-05-18T18:44:19.674Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-18T18:44:21.640Z] ---> Running in c4326da7ba0c [2023-05-18T18:44:21.913Z] Removing intermediate container c4326da7ba0c [2023-05-18T18:44:21.913Z] ---> ffd9480a6e70 [2023-05-18T18:44:21.913Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T18:44:22.183Z] ---> Running in 56c9bc5d95d0 [2023-05-18T18:44:22.456Z] Removing intermediate container 56c9bc5d95d0 [2023-05-18T18:44:22.456Z] ---> a8f22d2956c8 [2023-05-18T18:44:22.456Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-18T18:44:22.456Z] ---> Running in 75f6d2e6361a [2023-05-18T18:44:22.727Z] Removing intermediate container 75f6d2e6361a [2023-05-18T18:44:22.727Z] ---> ab99e5fe5acf [2023-05-18T18:44:22.727Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T18:44:22.998Z] ---> Running in 1fbb4084a2af [2023-05-18T18:44:23.266Z] Removing intermediate container 1fbb4084a2af [2023-05-18T18:44:23.266Z] ---> f8666311b09d [2023-05-18T18:44:23.266Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-18T18:44:23.266Z] ---> Running in e300d27780ed [2023-05-18T18:44:23.535Z] Removing intermediate container e300d27780ed [2023-05-18T18:44:23.535Z] ---> 4f8f6fcf4497 [2023-05-18T18:44:23.535Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T18:44:23.804Z] ---> Running in 958b47916104 [2023-05-18T18:44:25.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-18T18:44:25.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-18T18:44:26.469Z] OK: 263 MiB in 53 packages [2023-05-18T18:44:27.439Z] Removing intermediate container 958b47916104 [2023-05-18T18:44:27.439Z] ---> 9efd1ca0b5f0 [2023-05-18T18:44:27.439Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-18T18:44:27.439Z] ---> Running in 427ec6c9fe77 [2023-05-18T18:44:27.711Z] Removing intermediate container 427ec6c9fe77 [2023-05-18T18:44:27.711Z] ---> e84dd6142f14 [2023-05-18T18:44:27.711Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-18T18:44:28.312Z] ---> 6083dc753631 [2023-05-18T18:44:28.312Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T18:44:28.312Z] ---> Running in bf4dc0956bf6 [2023-05-18T18:45:36.238Z] Removing intermediate container bf4dc0956bf6 [2023-05-18T18:45:36.238Z] ---> d0688366dc44 [2023-05-18T18:45:36.238Z] Step 12/13 : COPY . . [2023-05-18T18:45:36.238Z] ---> 0365eb5336fe [2023-05-18T18:45:36.238Z] Step 13/13 : RUN ${MAKE} [2023-05-18T18:45:36.238Z] ---> Running in 5b7fb8ea3eea [2023-05-18T18:45:36.238Z] noop [2023-05-18T18:45:36.238Z] Removing intermediate container 5b7fb8ea3eea [2023-05-18T18:45:36.238Z] ---> 9cd7c9b4e1c9 [2023-05-18T18:45:36.238Z] Successfully built 9cd7c9b4e1c9 [2023-05-18T18:45:36.238Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:45:36.750Z] + docker inspect -f . ci-base-image-arm64 [2023-05-18T18:45:36.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T18:45:37.076Z] prd-ubuntu20.04-docker-arm64-4c-16g-16034 does not seem to be running inside a container [2023-05-18T18:45:37.178Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-18T18:45:38.531Z] $ docker top 9ac86246974be9c78a8aaa096fb16e9de5e4dc5234c5d74e94980a911e53bbeb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T18:45:39.450Z] + go version [2023-05-18T18:45:39.450Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-18T18:45:39.488Z] $ docker stop --time=1 9ac86246974be9c78a8aaa096fb16e9de5e4dc5234c5d74e94980a911e53bbeb [2023-05-18T18:45:41.197Z] $ docker rm -f --volumes 9ac86246974be9c78a8aaa096fb16e9de5e4dc5234c5d74e94980a911e53bbeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:45:42.097Z] + docker inspect -f . ci-base-image-arm64 [2023-05-18T18:45:42.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T18:45:42.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-16034 does not seem to be running inside a container [2023-05-18T18:45:42.469Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-18T18:45:43.801Z] $ docker top 001ae0e0b56f8f296edbb0d24e126bf9a241909d6dc1652b763a860878145da7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T18:45:44.703Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-18T18:45:45.101Z] + make test [2023-05-18T18:45:45.376Z] go test ./... -coverprofile=coverage.out ./... [2023-05-18T18:46:24.298Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-18T18:48:46.063Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-18T18:48:46.063Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-18T18:48:46.653Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.232s coverage: 31.4% of statements [2023-05-18T18:49:13.367Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.429s coverage: 86.5% of statements [2023-05-18T18:49:13.367Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-18T18:49:13.367Z] go vet ./... [2023-05-18T18:49:45.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-18T18:49:45.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-18T18:49:45.601Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-18T18:49:45.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-18T18:49:45.686Z] $ docker stop --time=1 001ae0e0b56f8f296edbb0d24e126bf9a241909d6dc1652b763a860878145da7 [2023-05-18T18:49:47.683Z] $ docker rm -f --volumes 001ae0e0b56f8f296edbb0d24e126bf9a241909d6dc1652b763a860878145da7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T18:49:49.001Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-18T18:49:49.037Z] Warning: overwriting stash ‘coverage-report’ [2023-05-18T18:49:49.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-18T18:49:50.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-18T18:49:50.521Z] + ls -al . [2023-05-18T18:49:50.521Z] total 228 [2023-05-18T18:49:50.521Z] drwxrwxr-x 9 jenkins jenkins 4096 May 18 18:45 . [2023-05-18T18:49:50.521Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:43 .. [2023-05-18T18:49:50.521Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 18:43 .git [2023-05-18T18:49:50.521Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:43 .github [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 496 May 18 18:43 .gitignore [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 42 May 18 18:43 .golangci.yml [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 18 18:43 Attribution.txt [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 18 18:43 CHANGELOG.md [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 18 18:43 Dockerfile [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 677 May 18 18:43 GOVERNANCE.md [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 739 May 18 18:43 Jenkinsfile [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 18 18:43 LICENSE [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 18 18:43 Makefile [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 625 May 18 18:43 OWNERS.md [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 18 18:43 README.md [2023-05-18T18:49:50.521Z] -rw-rw-r-- 1 jenkins jenkins 5 May 18 18:41 VERSION [2023-05-18T18:49:50.521Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 18:43 bin [2023-05-18T18:49:50.522Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:43 cmd [2023-05-18T18:49:50.522Z] -rw-r--r-- 1 jenkins jenkins 78459 May 18 18:49 coverage.out [2023-05-18T18:49:50.522Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:43 doc [2023-05-18T18:49:50.522Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 18 18:43 go.mod [2023-05-18T18:49:50.522Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 18 18:43 go.sum [2023-05-18T18:49:50.522Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:43 internal [2023-05-18T18:49:50.522Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:43 snap [2023-05-18T18:49:50.522Z] -rw-rw-r-- 1 jenkins jenkins 236 May 18 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:49:50.950Z] + 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=cc2fe5c940e704d543e537d7ec4b81ce695bf44a --label arch=arm64 --label version=0.0.0 . [2023-05-18T18:49:51.542Z] Sending build context to Docker daemon 14.54MB [2023-05-18T18:49:51.542Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T18:49:51.542Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-18T18:49:51.542Z] ---> 9cd7c9b4e1c9 [2023-05-18T18:49:51.542Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-18T18:49:51.808Z] ---> Running in 7775ab74bae3 [2023-05-18T18:49:52.075Z] Removing intermediate container 7775ab74bae3 [2023-05-18T18:49:52.075Z] ---> 34426b2e0b2f [2023-05-18T18:49:52.075Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T18:49:52.075Z] ---> Running in 42116ff0b3fc [2023-05-18T18:49:52.353Z] Removing intermediate container 42116ff0b3fc [2023-05-18T18:49:52.353Z] ---> 444813589727 [2023-05-18T18:49:52.353Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-18T18:49:52.353Z] ---> Running in a139967a527a [2023-05-18T18:49:52.621Z] Removing intermediate container a139967a527a [2023-05-18T18:49:52.621Z] ---> c5fb0bc1c2a7 [2023-05-18T18:49:52.621Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T18:49:52.889Z] ---> Running in f7a8363c83de [2023-05-18T18:49:53.159Z] Removing intermediate container f7a8363c83de [2023-05-18T18:49:53.159Z] ---> f39504ebd640 [2023-05-18T18:49:53.159Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-18T18:49:53.159Z] ---> Running in 71844236ee54 [2023-05-18T18:49:53.431Z] Removing intermediate container 71844236ee54 [2023-05-18T18:49:53.431Z] ---> dda0ba0adb0f [2023-05-18T18:49:53.431Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T18:49:53.702Z] ---> Running in 5bb6d173dcb7 [2023-05-18T18:49:54.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-18T18:49:55.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-18T18:49:56.711Z] OK: 263 MiB in 53 packages [2023-05-18T18:49:57.709Z] Removing intermediate container 5bb6d173dcb7 [2023-05-18T18:49:57.709Z] ---> e7bc65232574 [2023-05-18T18:49:57.709Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-18T18:49:57.709Z] ---> Running in 5fd0352153c1 [2023-05-18T18:49:57.982Z] Removing intermediate container 5fd0352153c1 [2023-05-18T18:49:57.982Z] ---> bef3c1618f6a [2023-05-18T18:49:57.982Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-18T18:50:01.364Z] ---> 510a217787f8 [2023-05-18T18:50:01.364Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T18:50:01.364Z] ---> Running in 9279f61bdc96 [2023-05-18T18:50:03.961Z] Removing intermediate container 9279f61bdc96 [2023-05-18T18:50:03.961Z] ---> d113aa406c90 [2023-05-18T18:50:03.961Z] Step 12/26 : COPY . . [2023-05-18T18:50:05.368Z] ---> 6a481942e891 [2023-05-18T18:50:05.368Z] Step 13/26 : RUN ${MAKE} [2023-05-18T18:50:05.368Z] ---> Running in c45c33b2400d [2023-05-18T18:50:06.341Z] 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-05-18T18:52:43.057Z] Removing intermediate container c45c33b2400d [2023-05-18T18:52:43.057Z] ---> 8140ffb43855 [2023-05-18T18:52:43.057Z] Step 14/26 : FROM alpine:3.17 [2023-05-18T18:52:43.057Z] 3.17: Pulling from library/alpine [2023-05-18T18:52:43.057Z] c41833b44d91: Already exists [2023-05-18T18:52:43.057Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-18T18:52:43.057Z] Status: Downloaded newer image for alpine:3.17 [2023-05-18T18:52:43.057Z] ---> 51e60588ff2c [2023-05-18T18:52:43.057Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-18T18:52:43.057Z] ---> Running in 35eb321cb152 [2023-05-18T18:52:43.057Z] Removing intermediate container 35eb321cb152 [2023-05-18T18:52:43.057Z] ---> 832f20edd9df [2023-05-18T18:52:43.057Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-18T18:52:43.057Z] ---> Running in 0d746bf75d85 [2023-05-18T18:52:43.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-18T18:52:43.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-18T18:52:43.057Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-18T18:52:43.057Z] Executing busybox-1.35.0-r29.trigger [2023-05-18T18:52:43.057Z] OK: 8 MiB in 16 packages [2023-05-18T18:52:43.057Z] Removing intermediate container 0d746bf75d85 [2023-05-18T18:52:43.057Z] ---> 6d913e1c5147 [2023-05-18T18:52:43.057Z] Step 17/26 : WORKDIR / [2023-05-18T18:52:43.057Z] ---> Running in 8bf41af5deee [2023-05-18T18:52:43.057Z] Removing intermediate container 8bf41af5deee [2023-05-18T18:52:43.057Z] ---> 4d558b457431 [2023-05-18T18:52:43.057Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-18T18:52:43.057Z] ---> e7b8588c11d5 [2023-05-18T18:52:43.057Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-18T18:52:43.057Z] ---> cbebb431befe [2023-05-18T18:52:43.057Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-18T18:52:43.057Z] ---> f731019722ee [2023-05-18T18:52:43.057Z] Step 21/26 : EXPOSE 59984 [2023-05-18T18:52:43.057Z] ---> Running in 784cac7b8853 [2023-05-18T18:52:43.057Z] Removing intermediate container 784cac7b8853 [2023-05-18T18:52:43.057Z] ---> 8db1e4eca680 [2023-05-18T18:52:43.057Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-18T18:52:43.057Z] ---> Running in a91d2acb4044 [2023-05-18T18:52:43.057Z] Removing intermediate container a91d2acb4044 [2023-05-18T18:52:43.057Z] ---> 0b002dcbcf3a [2023-05-18T18:52:43.057Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-18T18:52:43.057Z] ---> Running in 2dc1fd639af0 [2023-05-18T18:52:43.057Z] Removing intermediate container 2dc1fd639af0 [2023-05-18T18:52:43.057Z] ---> f3635cd26991 [2023-05-18T18:52:43.057Z] Step 24/26 : LABEL arch=arm64 [2023-05-18T18:52:43.057Z] ---> Running in 24072241a113 [2023-05-18T18:52:43.057Z] Removing intermediate container 24072241a113 [2023-05-18T18:52:43.057Z] ---> ec0bdb5f4fe4 [2023-05-18T18:52:43.057Z] Step 25/26 : LABEL git_sha=cc2fe5c940e704d543e537d7ec4b81ce695bf44a [2023-05-18T18:52:43.057Z] ---> Running in 7973e265f91d [2023-05-18T18:52:43.057Z] Removing intermediate container 7973e265f91d [2023-05-18T18:52:43.057Z] ---> 40e9738a1c86 [2023-05-18T18:52:43.057Z] Step 26/26 : LABEL version=0.0.0 [2023-05-18T18:52:43.057Z] ---> Running in 85f1a2051a9e [2023-05-18T18:52:43.057Z] Removing intermediate container 85f1a2051a9e [2023-05-18T18:52:43.057Z] ---> 43fdd96807ab [2023-05-18T18:52:43.057Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-18T18:52:43.057Z] Successfully built 43fdd96807ab [2023-05-18T18:52:43.057Z] 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-05-18T18:52:43.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-18T18:52:43.934Z] [2023-05-18T18:52:43.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:52:44.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-18T18:52:44.347Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-18T18:52:44.347Z] 8998bd30e6a1: Pulling fs layer [2023-05-18T18:52:44.347Z] 04944245beec: Pulling fs layer [2023-05-18T18:52:44.347Z] 699f458cf7ca: Pulling fs layer [2023-05-18T18:52:44.347Z] 765212b225bb: Pulling fs layer [2023-05-18T18:52:44.347Z] f23df028b6ca: Pulling fs layer [2023-05-18T18:52:44.347Z] d65c8cfc05b1: Pulling fs layer [2023-05-18T18:52:44.347Z] 2437ff75d9bd: Pulling fs layer [2023-05-18T18:52:44.347Z] f23df028b6ca: Waiting [2023-05-18T18:52:44.347Z] d65c8cfc05b1: Waiting [2023-05-18T18:52:44.347Z] 2437ff75d9bd: Waiting [2023-05-18T18:52:44.347Z] 765212b225bb: Waiting [2023-05-18T18:52:44.617Z] 04944245beec: Verifying Checksum [2023-05-18T18:52:44.617Z] 04944245beec: Download complete [2023-05-18T18:52:44.617Z] 765212b225bb: Verifying Checksum [2023-05-18T18:52:44.617Z] 765212b225bb: Download complete [2023-05-18T18:52:44.617Z] f23df028b6ca: Verifying Checksum [2023-05-18T18:52:44.617Z] f23df028b6ca: Download complete [2023-05-18T18:52:44.617Z] d65c8cfc05b1: Verifying Checksum [2023-05-18T18:52:44.617Z] d65c8cfc05b1: Download complete [2023-05-18T18:52:44.888Z] 699f458cf7ca: Verifying Checksum [2023-05-18T18:52:44.888Z] 699f458cf7ca: Download complete [2023-05-18T18:52:45.156Z] 8998bd30e6a1: Verifying Checksum [2023-05-18T18:52:45.156Z] 8998bd30e6a1: Download complete [2023-05-18T18:52:47.753Z] 2437ff75d9bd: Verifying Checksum [2023-05-18T18:52:47.753Z] 2437ff75d9bd: Download complete [2023-05-18T18:52:48.711Z] 8998bd30e6a1: Pull complete [2023-05-18T18:52:49.295Z] 04944245beec: Pull complete [2023-05-18T18:52:50.702Z] 699f458cf7ca: Pull complete [2023-05-18T18:52:50.702Z] 765212b225bb: Pull complete [2023-05-18T18:52:51.673Z] f23df028b6ca: Pull complete [2023-05-18T18:52:51.673Z] d65c8cfc05b1: Pull complete [2023-05-18T18:53:03.975Z] 2437ff75d9bd: Pull complete [2023-05-18T18:53:03.975Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-18T18:53:03.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-18T18:53:03.975Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T18:53:04.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-16034 does not seem to be running inside a container [2023-05-18T18:53:04.378Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-18T18:53:06.853Z] $ docker top 9325f0f0525b578b1fc879faf7d8b6318e60a939202afb48b9ad476a7eb7ed01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:53:07.737Z] ---> job-cost.sh [2023-05-18T18:53:07.737Z] lf-activate-venv: SKIPPING [2023-05-18T18:53:07.737Z] INFO: No Stack... [2023-05-18T18:53:08.324Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-18T18:53:08.907Z] INFO: Archiving Costs [Pipeline] sh [2023-05-18T18:53:09.249Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-05-18T18:53:09.250Z] + cut -d, -f6 [Pipeline] lock [2023-05-18T18:53:09.340Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-366-1-stack-cost] [2023-05-18T18:53:09.345Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-366-1-stack-cost] did not exist. Created. [2023-05-18T18:53:09.345Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-18T18:53:09.763Z] /w/workspace/device-onvif-camera/1@tmp/durable-81cdb4d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-18T18:53:10.127Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-18T18:53:10.166Z] Warning: overwriting stash ‘stack-cost’ [2023-05-18T18:53:10.220Z] Stashed 1 file(s) [Pipeline] } [2023-05-18T18:53:10.236Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-18T18:53:10.332Z] $ docker stop --time=1 9325f0f0525b578b1fc879faf7d8b6318e60a939202afb48b9ad476a7eb7ed01 [2023-05-18T18:53:11.798Z] $ docker rm -f --volumes 9325f0f0525b578b1fc879faf7d8b6318e60a939202afb48b9ad476a7eb7ed01 [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-05-18T18:53:12.853Z] provisioning config files... [2023-05-18T18:53:12.860Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-366@tmp/config10900057701871259681tmp [Pipeline] { [Pipeline] sh [2023-05-18T18:53:13.210Z] + set +x [2023-05-18T18:53:13.210Z] + curl -s https://codecov.io/bash [2023-05-18T18:53:13.210Z] + bash -s -- [2023-05-18T18:53:13.210Z] [2023-05-18T18:53:13.210Z] _____ _ [2023-05-18T18:53:13.210Z] / ____| | | [2023-05-18T18:53:13.210Z] | | ___ __| | ___ ___ _____ __ [2023-05-18T18:53:13.210Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-18T18:53:13.210Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-18T18:53:13.210Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-18T18:53:13.210Z] Bash-1.0.6 [2023-05-18T18:53:13.210Z] [2023-05-18T18:53:13.210Z] [2023-05-18T18:53:13.210Z] ==> git version 2.25.1 found [2023-05-18T18:53:13.210Z] ==> 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-05-18T18:53:13.210Z] Release-Date: 2020-01-08 [2023-05-18T18:53:13.210Z] 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-05-18T18:53:13.210Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-18T18:53:13.210Z] ==> Jenkins CI detected. [2023-05-18T18:53:13.210Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-366 [2023-05-18T18:53:13.210Z] project root: . [2023-05-18T18:53:13.210Z] --> token set from env [2023-05-18T18:53:13.210Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-18T18:53:13.210Z] ==> Running gcov in . (disable via -X gcov) [2023-05-18T18:53:13.210Z] ==> Python coveragepy not found [2023-05-18T18:53:13.210Z] ==> Searching for coverage reports in: [2023-05-18T18:53:13.210Z] + . [2023-05-18T18:53:13.210Z] -> Found 1 reports [2023-05-18T18:53:13.210Z] ==> Detecting git/mercurial file structure [2023-05-18T18:53:13.470Z] ==> Reading reports [2023-05-18T18:53:13.470Z] + ./coverage.out bytes=78459 [2023-05-18T18:53:13.470Z] ==> Appending adjustments [2023-05-18T18:53:13.470Z] https://docs.codecov.io/docs/fixing-reports [2023-05-18T18:53:13.470Z] + Found adjustments [2023-05-18T18:53:13.470Z] ==> Gzipping contents [2023-05-18T18:53:13.470Z] 12K /tmp/codecov.56naav.gz [2023-05-18T18:53:13.470Z] ==> Uploading reports [2023-05-18T18:53:13.470Z] url: https://codecov.io [2023-05-18T18:53:13.470Z] query: branch=PR-366&commit=cc2fe5c940e704d543e537d7ec4b81ce695bf44a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-366%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=366&job=&cmd_args= [2023-05-18T18:53:13.470Z] -> Pinging Codecov [2023-05-18T18:53:13.470Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-366&commit=cc2fe5c940e704d543e537d7ec4b81ce695bf44a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-366%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=366&job=&cmd_args= [2023-05-18T18:53:13.733Z] -> Uploading to [2023-05-18T18:53:13.733Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-18/F29A59C45E3A92E06B3E522C9905F8EF/cc2fe5c940e704d543e537d7ec4b81ce695bf44a/8689a192-6e27-4e89-82f2-0e8d8b9c72a5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T185313Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd3653c603168892519d84892012c7d3c1f74c05cbd6caa0515451b2d3693a6a [2023-05-18T18:53:13.733Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-18T18:53:13.733Z] Dload Upload Total Spent Left Speed [2023-05-18T18:53:13.997Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 51497 --:--:-- --:--:-- --:--:-- 51497 [2023-05-18T18:53:13.997Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/cc2fe5c940e704d543e537d7ec4b81ce695bf44a [Pipeline] } [2023-05-18T18:53:14.028Z] 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-05-18T18:53:15.872Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-366/archives ] [2023-05-18T18:53:15.872Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-366/archives [2023-05-18T18:53:15.872Z] total 16 [2023-05-18T18:53:15.872Z] drwxr-xr-x 3 root root 4096 May 18 18:43 . [2023-05-18T18:53:15.872Z] drwxrwxr-x 11 jenkins jenkins 4096 May 18 18:43 .. [2023-05-18T18:53:15.872Z] drwxr-xr-x 2 root root 4096 May 18 18:43 cost [2023-05-18T18:53:15.872Z] -rw-r--r-- 1 root root 91 May 18 18:43 cost.csv [2023-05-18T18:53:15.872Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-366/archives [2023-05-18T18:53:15.872Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-366/archives [2023-05-18T18:53:15.872Z] total 16 [2023-05-18T18:53:15.872Z] drwxr-xr-x 3 jenkins jenkins 4096 May 18 18:43 . [2023-05-18T18:53:15.872Z] drwxrwxr-x 11 jenkins jenkins 4096 May 18 18:43 .. [2023-05-18T18:53:15.872Z] drwxr-xr-x 2 jenkins jenkins 4096 May 18 18:43 cost [2023-05-18T18:53:15.872Z] -rw-r--r-- 1 jenkins jenkins 91 May 18 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:53:16.205Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:53:17.094Z] ---> package-listing.sh [2023-05-18T18:53:17.094Z] ++ facter osfamily [2023-05-18T18:53:17.094Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-18T18:53:17.353Z] + OS_FAMILY=debian [2023-05-18T18:53:17.353Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-366 [2023-05-18T18:53:17.353Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-18T18:53:17.353Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-18T18:53:17.353Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-18T18:53:17.353Z] + PACKAGES=/tmp/packages_start.txt [2023-05-18T18:53:17.353Z] + '[' /w/workspace/undry_device-onvif-camera_PR-366 ']' [2023-05-18T18:53:17.353Z] + PACKAGES=/tmp/packages_end.txt [2023-05-18T18:53:17.353Z] + case "${OS_FAMILY}" in [2023-05-18T18:53:17.353Z] + dpkg -l [2023-05-18T18:53:17.353Z] + grep '^ii' [2023-05-18T18:53:17.353Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-18T18:53:17.353Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-18T18:53:17.353Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-18T18:53:17.353Z] + '[' /w/workspace/undry_device-onvif-camera_PR-366 ']' [2023-05-18T18:53:17.353Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-366/archives/ [2023-05-18T18:53:17.353Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-366/archives/ [Pipeline] echo [2023-05-18T18:53:17.390Z] 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-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-18T18:53:17.682Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T18:53:18.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T18:53:18.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T18:53:18.468Z] prd-ubuntu20.04-docker-8c-8g-16033 does not seem to be running inside a container [2023-05-18T18:53:18.495Z] $ 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-366/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-366 -v /w/workspace/undry_device-onvif-camera_PR-366:/w/workspace/undry_device-onvif-camera_PR-366:rw,z -v /w/workspace/undry_device-onvif-camera_PR-366@tmp:/w/workspace/undry_device-onvif-camera_PR-366@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-18T18:53:18.685Z] $ docker top ef80f48a1811b5b6b0bdf24fa4ccfa6c97f66833b997cf1b604975b1fd4a8ea9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T18:53:19.072Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-18T18:53:19.388Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-18T18:53:19.699Z] + ls /var/log/sa-host [2023-05-18T18:53:19.700Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-18T18:53:19.917Z] provisioning config files... [2023-05-18T18:53:19.925Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-366@tmp/config9988690558672402733tmp [Pipeline] { [Pipeline] echo [2023-05-18T18:53:19.988Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:53:20.303Z] ---> create-netrc.sh [Pipeline] } [2023-05-18T18:53:20.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:53:20.743Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-18T18:53:20.775Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:53:21.106Z] ---> sudo-logs.sh [2023-05-18T18:53:21.106Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-18T18:53:21.189Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:53:21.500Z] ---> job-cost.sh [2023-05-18T18:53:21.500Z] lf-activate-venv: SKIPPING [2023-05-18T18:53:21.500Z] DEBUG: total: 0.2199999988079071 [2023-05-18T18:53:21.500Z] INFO: Retrieving Stack Cost... [2023-05-18T18:53:21.759Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-18T18:53:22.325Z] INFO: Archiving Costs [Pipeline] echo [2023-05-18T18:53:22.362Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T18:53:22.690Z] ---> logs-deploy.sh [2023-05-18T18:53:22.690Z] lf-activate-venv: SKIPPING [2023-05-18T18:53:22.690Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-366/1 [2023-05-18T18:53:22.690Z] INFO: archiving workspace using pattern(s): [2023-05-18T18:53:23.623Z] Archives upload complete. [2023-05-18T18:53:23.623Z] INFO: archiving logs to Nexus