Pull request #234 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1+03e3920523c9ccf0abebb32dc2ec7b89e7815765 (8cff93198184d870965dc125165a2c6322735b34) 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-ssh12235878031368106724.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12627910351621756935.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh 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-234/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-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5291904123187553281.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-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1699269408612101353.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh12004324252601165064.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-234/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-234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7913476155553524259.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6505 in /w/workspace/undry_device-onvif-camera_PR-234 [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-234 # 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/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 03e3920523c9ccf0abebb32dc2ec7b89e7815765 into PR head commit e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 Merge succeeded, producing e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 Checking out Revision e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 (PR-234) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T21:36:45.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T21:36:45.885Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T21:36:45.983Z] ========================================================= [2023-02-17T21:36:45.983Z] EdgeX Global Pipelines Version Info [2023-02-17T21:36:45.983Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 # 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 03e3920523c9ccf0abebb32dc2ec7b89e7815765 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 # timeout=10 [2023-02-17T21:36:46.713Z] ------------------- [2023-02-17T21:36:46.713Z] stable info: [2023-02-17T21:36:46.713Z] ------------------- [2023-02-17T21:36:46.713Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T21:36:46.713Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T21:36:46.713Z] Message: update stable to v1.0.244 [2023-02-17T21:36:47.283Z] ------------------- [2023-02-17T21:36:47.283Z] experimental info: [2023-02-17T21:36:47.283Z] ------------------- [2023-02-17T21:36:47.283Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T21:36:47.283Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T21:36:47.283Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T21:36:47.555Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-17T21:36:47.594Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-17T21:36:47.632Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T21:36:47.676Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T21:36:47.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T21:36:47.759Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T21:36:47.800Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T21:36:47.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T21:36:47.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T21:36:47.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T21:36:47.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T21:36:47.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-17T21:36:48.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T21:36:48.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T21:36:48.119Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T21:36:48.159Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T21:36:48.196Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T21:36:48.234Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T21:36:48.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T21:36:48.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T21:36:48.362Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-17T21:36:48.400Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-17T21:36:48.438Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T21:36:48.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T21:36:48.522Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T21:36:48.567Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T21:36:48.606Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T21:36:48.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-234 [Pipeline] echo [2023-02-17T21:36:48.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-234 [Pipeline] echo [2023-02-17T21:36:48.737Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-234 [Pipeline] echo [2023-02-17T21:36:48.782Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [Pipeline] echo [2023-02-17T21:36:48.825Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1e5e65 [Pipeline] echo [2023-02-17T21:36:48.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:36:48.983Z] provisioning config files... [2023-02-17T21:36:49.004Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-234@tmp/config10259421166475683650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:36:49.341Z] ---> docker-login.sh [2023-02-17T21:36:49.341Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:36:49.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:49.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:49.602Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:49.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:49.602Z] [2023-02-17T21:36:49.602Z] Login Succeeded [2023-02-17T21:36:49.602Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:36:49.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:49.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:49.602Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:49.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:49.602Z] [2023-02-17T21:36:49.602Z] Login Succeeded [2023-02-17T21:36:49.602Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:36:49.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:49.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:49.864Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:49.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:49.864Z] [2023-02-17T21:36:49.864Z] Login Succeeded [2023-02-17T21:36:49.864Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:36:49.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:49.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:49.864Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:49.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:49.864Z] [2023-02-17T21:36:49.864Z] Login Succeeded [2023-02-17T21:36:49.864Z] docker.io [2023-02-17T21:36:49.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:36:50.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:36:50.125Z] Configure a credential helper to remove this warning. See [2023-02-17T21:36:50.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:36:50.125Z] [2023-02-17T21:36:50.125Z] Login Succeeded [2023-02-17T21:36:50.125Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:36:50.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T21:36:50.791Z] + git rev-list -1 --merges e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1~1..e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [Pipeline] echo [2023-02-17T21:36:50.861Z] -----------> git rev-list -1 --merges e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1~1..e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [false] [Pipeline] sh [2023-02-17T21:36:51.171Z] + git log --format=format:%s -1 e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [Pipeline] echo [2023-02-17T21:36:51.203Z] ========================================================= [2023-02-17T21:36:51.203Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T21:36:51.203Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T21:36:51.635Z] + git log --format=format:%s -1 e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [Pipeline] echo [2023-02-17T21:36:51.666Z] [semverPrep] GIT_COMMIT: e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-17T21:36:51.696Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T21:36:52.076Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T21:36:52.076Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T21:36:52.076Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T21:36:52.076Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T21:36:52.076Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T21:36:52.076Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T21:36:52.076Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:36:52.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:36:52.511Z] [2023-02-17T21:36:52.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:36:52.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:36:52.889Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T21:36:52.889Z] b85a868b505f: Pulling fs layer [2023-02-17T21:36:52.889Z] e2be974225ed: Pulling fs layer [2023-02-17T21:36:52.889Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T21:36:52.889Z] 988bab9f4d93: Pulling fs layer [2023-02-17T21:36:52.889Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T21:36:52.889Z] eaf3925da568: Pulling fs layer [2023-02-17T21:36:52.889Z] bab4dde63d76: Pulling fs layer [2023-02-17T21:36:52.889Z] bde34c3a00c8: Pulling fs layer [2023-02-17T21:36:52.889Z] b352a97aabf1: Pulling fs layer [2023-02-17T21:36:52.889Z] 4872d77fe225: Pulling fs layer [2023-02-17T21:36:52.889Z] 5851b861e8e6: Pulling fs layer [2023-02-17T21:36:52.889Z] 988bab9f4d93: Waiting [2023-02-17T21:36:52.889Z] bde34c3a00c8: Waiting [2023-02-17T21:36:52.889Z] 1469e6f7b9e6: Waiting [2023-02-17T21:36:52.889Z] eaf3925da568: Waiting [2023-02-17T21:36:52.889Z] bab4dde63d76: Waiting [2023-02-17T21:36:52.889Z] 4872d77fe225: Waiting [2023-02-17T21:36:52.889Z] b352a97aabf1: Waiting [2023-02-17T21:36:52.889Z] 5851b861e8e6: Waiting [2023-02-17T21:36:52.889Z] e2be974225ed: Verifying Checksum [2023-02-17T21:36:52.889Z] e2be974225ed: Download complete [2023-02-17T21:36:53.156Z] 988bab9f4d93: Verifying Checksum [2023-02-17T21:36:53.156Z] 988bab9f4d93: Download complete [2023-02-17T21:36:53.436Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T21:36:53.436Z] 1469e6f7b9e6: Download complete [2023-02-17T21:36:53.436Z] eaf3925da568: Verifying Checksum [2023-02-17T21:36:53.436Z] eaf3925da568: Download complete [2023-02-17T21:36:53.436Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T21:36:53.436Z] bde34c3a00c8: Download complete [2023-02-17T21:36:53.436Z] b352a97aabf1: Download complete [2023-02-17T21:36:53.436Z] 4872d77fe225: Verifying Checksum [2023-02-17T21:36:53.436Z] 4872d77fe225: Download complete [2023-02-17T21:36:53.710Z] 5851b861e8e6: Verifying Checksum [2023-02-17T21:36:53.710Z] 5851b861e8e6: Download complete [2023-02-17T21:36:53.710Z] b85a868b505f: Verifying Checksum [2023-02-17T21:36:53.710Z] b85a868b505f: Download complete [2023-02-17T21:36:54.281Z] bab4dde63d76: Verifying Checksum [2023-02-17T21:36:54.281Z] bab4dde63d76: Download complete [2023-02-17T21:36:54.850Z] b85a868b505f: Pull complete [2023-02-17T21:36:55.110Z] e2be974225ed: Pull complete [2023-02-17T21:36:55.371Z] 339a4e72a1f5: Pull complete [2023-02-17T21:36:55.371Z] 988bab9f4d93: Pull complete [2023-02-17T21:36:55.638Z] 1469e6f7b9e6: Pull complete [2023-02-17T21:36:55.897Z] eaf3925da568: Pull complete [2023-02-17T21:36:57.808Z] bab4dde63d76: Pull complete [2023-02-17T21:36:57.808Z] bde34c3a00c8: Pull complete [2023-02-17T21:36:57.808Z] b352a97aabf1: Pull complete [2023-02-17T21:36:57.808Z] 4872d77fe225: Pull complete [2023-02-17T21:36:57.808Z] 5851b861e8e6: Pull complete [2023-02-17T21:36:57.808Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T21:36:57.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:36:57.808Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:36:58.044Z] prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container [2023-02-17T21:36:58.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-234 -v /w/workspace/undry_device-onvif-camera_PR-234:/w/workspace/undry_device-onvif-camera_PR-234:rw,z -v /w/workspace/undry_device-onvif-camera_PR-234@tmp:/w/workspace/undry_device-onvif-camera_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T21:36:59.273Z] $ docker top 9ed44ff230c36c28875419b16ce53fdec777ee14abd7139b2b088c922463bcd6 -eo pid,comm [2023-02-17T21:36:59.322Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-17T21:36:59.322Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T21:36:59.455Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T21:36:59.455Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T21:36:59.561Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T21:36:59.565Z] $ docker exec 9ed44ff230c36c28875419b16ce53fdec777ee14abd7139b2b088c922463bcd6 ssh-agent [2023-02-17T21:36:59.678Z] SSH_AUTH_SOCK=/tmp/ssh-Q6qCdojklh0z/agent.33 [2023-02-17T21:36:59.678Z] SSH_AGENT_PID=39 [2023-02-17T21:36:59.684Z] Running ssh-add (command line suppressed) [2023-02-17T21:36:59.783Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-234@tmp/private_key_3727604284971915071.key (/w/workspace/undry_device-onvif-camera_PR-234@tmp/private_key_3727604284971915071.key) [2023-02-17T21:36:59.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T21:37:00.130Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T21:37:00.241Z] $ docker exec --env ******** --env ******** 9ed44ff230c36c28875419b16ce53fdec777ee14abd7139b2b088c922463bcd6 ssh-agent -k [2023-02-17T21:37:00.330Z] unset SSH_AUTH_SOCK; [2023-02-17T21:37:00.331Z] unset SSH_AGENT_PID; [2023-02-17T21:37:00.331Z] echo Agent pid 39 killed; [2023-02-17T21:37:00.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T21:37:00.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T21:37:00.429Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T21:37:00.554Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T21:37:00.558Z] $ docker exec 9ed44ff230c36c28875419b16ce53fdec777ee14abd7139b2b088c922463bcd6 ssh-agent [2023-02-17T21:37:00.667Z] SSH_AUTH_SOCK=/tmp/ssh-MFIXBy8XDgQq/agent.71 [2023-02-17T21:37:00.667Z] SSH_AGENT_PID=77 [2023-02-17T21:37:00.672Z] Running ssh-add (command line suppressed) [2023-02-17T21:37:00.775Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-234@tmp/private_key_14891804357590681250.key (/w/workspace/undry_device-onvif-camera_PR-234@tmp/private_key_14891804357590681250.key) [2023-02-17T21:37:00.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T21:37:01.127Z] + git semver init [2023-02-17T21:37:01.389Z] 2023-02-17 21:37:01,299 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T21:37:01.389Z] 2023-02-17 21:37:01,300 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-234/.semver [2023-02-17T21:37:01.389Z] 2023-02-17 21:37:01,300 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-234/.semver [2023-02-17T21:37:01.389Z] 2023-02-17 21:37:01,300 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-234/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-234, universal_newlines=False, shell=None, istream=None) [2023-02-17T21:37:02.772Z] 2023-02-17 21:37:02,359 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-234/.git/info/exclude [2023-02-17T21:37:02.772Z] 2023-02-17 21:37:02,360 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-234/.semver/PR-234 with force:False [2023-02-17T21:37:02.772Z] 2023-02-17 21:37:02,360 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-234/.semver/PR-234 [2023-02-17T21:37:02.772Z] 2023-02-17 21:37:02,365 [execute] INFO git cat-file --batch-check [2023-02-17T21:37:02.772Z] 2023-02-17 21:37:02,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-234/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T21:37:02.772Z] 2023-02-17 21:37:02,372 [execute] INFO git cat-file --batch [2023-02-17T21:37:02.772Z] 2023-02-17 21:37:02,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-234/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T21:37:02.772Z] 2023-02-17 21:37:02,377 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-234/.semver/PR-234 [2023-02-17T21:37:02.772Z] 0.0.0 [Pipeline] } [2023-02-17T21:37:02.799Z] $ docker exec --env ******** --env ******** 9ed44ff230c36c28875419b16ce53fdec777ee14abd7139b2b088c922463bcd6 ssh-agent -k [2023-02-17T21:37:02.897Z] unset SSH_AUTH_SOCK; [2023-02-17T21:37:02.897Z] unset SSH_AGENT_PID; [2023-02-17T21:37:02.898Z] echo Agent pid 77 killed; [2023-02-17T21:37:02.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T21:37:03.329Z] + git semver [Pipeline] } [2023-02-17T21:37:03.616Z] $ docker stop --time=1 9ed44ff230c36c28875419b16ce53fdec777ee14abd7139b2b088c922463bcd6 [2023-02-17T21:37:04.920Z] $ docker rm -f --volumes 9ed44ff230c36c28875419b16ce53fdec777ee14abd7139b2b088c922463bcd6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:37:05.323Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T21:37:05.600Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T21:37:05.619Z] [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-02-17T21:37:06.201Z] provisioning config files... [2023-02-17T21:37:06.209Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-234@tmp/config7791342381986185942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:37:06.549Z] ---> docker-login.sh [2023-02-17T21:37:06.549Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:37:06.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:37:06.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:37:06.549Z] Configure a credential helper to remove this warning. See [2023-02-17T21:37:06.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:37:06.549Z] [2023-02-17T21:37:06.549Z] Login Succeeded [2023-02-17T21:37:06.549Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:37:06.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:37:06.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:37:06.549Z] Configure a credential helper to remove this warning. See [2023-02-17T21:37:06.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:37:06.549Z] [2023-02-17T21:37:06.549Z] Login Succeeded [2023-02-17T21:37:06.549Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:37:06.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:37:06.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:37:06.808Z] Configure a credential helper to remove this warning. See [2023-02-17T21:37:06.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:37:06.808Z] [2023-02-17T21:37:06.808Z] Login Succeeded [2023-02-17T21:37:06.808Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:37:06.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:37:06.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:37:06.808Z] Configure a credential helper to remove this warning. See [2023-02-17T21:37:06.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:37:06.808Z] [2023-02-17T21:37:06.808Z] Login Succeeded [2023-02-17T21:37:06.808Z] docker.io [2023-02-17T21:37:07.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:37:07.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:37:07.327Z] Configure a credential helper to remove this warning. See [2023-02-17T21:37:07.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:37:07.327Z] [2023-02-17T21:37:07.327Z] Login Succeeded [2023-02-17T21:37:07.327Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:37:07.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T21:37:07.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:37:07.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:37:07.620Z] ========================================================= [2023-02-17T21:37:07.620Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T21:37:07.620Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:37:08.094Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T21:37:08.094Z] Sending build context to Docker daemon 27.72MB [2023-02-17T21:37:08.094Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:37:08.094Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-17T21:37:08.360Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T21:37:08.360Z] 213ec9aee27d: Pulling fs layer [2023-02-17T21:37:08.360Z] 4583459ba037: Pulling fs layer [2023-02-17T21:37:08.360Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T21:37:08.360Z] 53926ce57604: Pulling fs layer [2023-02-17T21:37:08.360Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T21:37:08.360Z] 22ff95d597cd: Pulling fs layer [2023-02-17T21:37:08.360Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T21:37:08.360Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T21:37:08.360Z] a7acece74701: Pulling fs layer [2023-02-17T21:37:08.360Z] 12d6caf4c0d1: Waiting [2023-02-17T21:37:08.360Z] 21b2b0c7a3f4: Waiting [2023-02-17T21:37:08.360Z] 53926ce57604: Waiting [2023-02-17T21:37:08.361Z] 96b7cbca73a9: Waiting [2023-02-17T21:37:08.361Z] a7acece74701: Waiting [2023-02-17T21:37:08.361Z] 22ff95d597cd: Waiting [2023-02-17T21:37:08.361Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T21:37:08.361Z] 93c1e223e6f2: Download complete [2023-02-17T21:37:08.361Z] 4583459ba037: Verifying Checksum [2023-02-17T21:37:08.361Z] 4583459ba037: Download complete [2023-02-17T21:37:08.361Z] 21b2b0c7a3f4: Download complete [2023-02-17T21:37:08.361Z] 22ff95d597cd: Verifying Checksum [2023-02-17T21:37:08.361Z] 22ff95d597cd: Download complete [2023-02-17T21:37:08.361Z] 213ec9aee27d: Verifying Checksum [2023-02-17T21:37:08.361Z] 213ec9aee27d: Download complete [2023-02-17T21:37:08.361Z] 12d6caf4c0d1: Verifying Checksum [2023-02-17T21:37:08.361Z] 12d6caf4c0d1: Download complete [2023-02-17T21:37:08.627Z] 213ec9aee27d: Pull complete [2023-02-17T21:37:08.627Z] 4583459ba037: Pull complete [2023-02-17T21:37:08.910Z] 93c1e223e6f2: Pull complete [2023-02-17T21:37:09.561Z] a7acece74701: Verifying Checksum [2023-02-17T21:37:09.561Z] a7acece74701: Download complete [2023-02-17T21:37:09.832Z] 53926ce57604: Verifying Checksum [2023-02-17T21:37:09.832Z] 53926ce57604: Download complete [2023-02-17T21:37:09.832Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T21:37:09.833Z] 96b7cbca73a9: Download complete [2023-02-17T21:37:13.113Z] 53926ce57604: Pull complete [2023-02-17T21:37:13.373Z] 21b2b0c7a3f4: Pull complete [2023-02-17T21:37:13.373Z] 22ff95d597cd: Pull complete [2023-02-17T21:37:13.373Z] 12d6caf4c0d1: Pull complete [2023-02-17T21:37:15.910Z] 96b7cbca73a9: Pull complete [2023-02-17T21:37:16.169Z] a7acece74701: Pull complete [2023-02-17T21:37:16.169Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T21:37:16.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T21:37:16.169Z] ---> db6d94c90886 [2023-02-17T21:37:16.169Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:37:18.071Z] ---> Running in 380cea434464 [2023-02-17T21:37:18.071Z] Removing intermediate container 380cea434464 [2023-02-17T21:37:18.071Z] ---> e140cb5b5c05 [2023-02-17T21:37:18.071Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:37:18.071Z] ---> Running in d7aec4723dbd [2023-02-17T21:37:18.071Z] Removing intermediate container d7aec4723dbd [2023-02-17T21:37:18.071Z] ---> d242b1063b04 [2023-02-17T21:37:18.071Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-17T21:37:18.071Z] ---> Running in 12ed0d357102 [2023-02-17T21:37:18.071Z] Removing intermediate container 12ed0d357102 [2023-02-17T21:37:18.071Z] ---> 2d20b3a4a41d [2023-02-17T21:37:18.071Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:37:18.071Z] ---> Running in 63ba95d5be28 [2023-02-17T21:37:18.071Z] Removing intermediate container 63ba95d5be28 [2023-02-17T21:37:18.071Z] ---> 9ba1c2179888 [2023-02-17T21:37:18.071Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-17T21:37:18.329Z] ---> Running in d6866de5ae51 [2023-02-17T21:37:18.329Z] Removing intermediate container d6866de5ae51 [2023-02-17T21:37:18.329Z] ---> 62850cfd61a5 [2023-02-17T21:37:18.329Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:37:18.329Z] ---> Running in b028c17fd5ed [2023-02-17T21:37:18.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T21:37:18.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T21:37:19.111Z] OK: 211 MiB in 51 packages [2023-02-17T21:37:19.368Z] Removing intermediate container b028c17fd5ed [2023-02-17T21:37:19.369Z] ---> 5dca9dcf102e [2023-02-17T21:37:19.369Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-17T21:37:19.369Z] ---> Running in 739d6bf5b5fc [2023-02-17T21:37:19.369Z] Removing intermediate container 739d6bf5b5fc [2023-02-17T21:37:19.369Z] ---> 230f54c69099 [2023-02-17T21:37:19.369Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-17T21:37:19.628Z] ---> 24b97163fab5 [2023-02-17T21:37:19.628Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:37:19.628Z] ---> Running in cd30937a3986 [2023-02-17T21:37:21.025Z] Still waiting to schedule task [2023-02-17T21:37:21.025Z] ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-17T21:37:21.025Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6506’ is offline [2023-02-17T21:37:51.711Z] Removing intermediate container cd30937a3986 [2023-02-17T21:37:51.711Z] ---> df80ab5851e3 [2023-02-17T21:37:51.711Z] Step 12/13 : COPY . . [2023-02-17T21:37:51.711Z] ---> 00c57d7a287f [2023-02-17T21:37:51.711Z] Step 13/13 : RUN ${MAKE} [2023-02-17T21:37:51.711Z] ---> Running in b665b350759f [2023-02-17T21:37:51.711Z] noop [2023-02-17T21:37:51.711Z] Removing intermediate container b665b350759f [2023-02-17T21:37:51.711Z] ---> 2e52f872db40 [2023-02-17T21:37:51.711Z] Successfully built 2e52f872db40 [2023-02-17T21:37:51.711Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:37:52.176Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T21:37:52.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:37:52.333Z] prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container [2023-02-17T21:37:52.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-234 -v /w/workspace/undry_device-onvif-camera_PR-234:/w/workspace/undry_device-onvif-camera_PR-234:rw,z -v /w/workspace/undry_device-onvif-camera_PR-234@tmp:/w/workspace/undry_device-onvif-camera_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T21:37:52.722Z] $ docker top 7ce91cebcba9cc8c2ef2d4e8e2309ee2220b56ce2d9a75eea8b1422374948f6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:37:53.115Z] + go version [2023-02-17T21:37:53.115Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T21:37:53.157Z] $ docker stop --time=1 7ce91cebcba9cc8c2ef2d4e8e2309ee2220b56ce2d9a75eea8b1422374948f6c [2023-02-17T21:37:54.429Z] $ docker rm -f --volumes 7ce91cebcba9cc8c2ef2d4e8e2309ee2220b56ce2d9a75eea8b1422374948f6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:37:55.087Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T21:37:55.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:37:55.230Z] prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container [2023-02-17T21:37:55.260Z] $ 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-234 -v /w/workspace/undry_device-onvif-camera_PR-234:/w/workspace/undry_device-onvif-camera_PR-234:rw,z -v /w/workspace/undry_device-onvif-camera_PR-234@tmp:/w/workspace/undry_device-onvif-camera_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T21:37:55.601Z] $ docker top 4430ce68ba3db91a6db006fbfd4a693d9e6031216e550ba8354585297ef68c01 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:37:56.004Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-234 [Pipeline] fileExists [Pipeline] sh [2023-02-17T21:37:56.363Z] + make test [2023-02-17T21:37:56.363Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T21:37:56.622Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-17T21:38:06.620Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-17T21:38:09.920Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 29.3% of statements [2023-02-17T21:38:09.920Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-17T21:38:09.920Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.358s coverage: 86.5% of statements [2023-02-17T21:38:18.033Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-17T21:38:18.033Z] go vet ./... [2023-02-17T21:38:21.316Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T21:38:21.316Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T21:38:21.316Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T21:38:21.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T21:38:21.632Z] $ docker stop --time=1 4430ce68ba3db91a6db006fbfd4a693d9e6031216e550ba8354585297ef68c01 [2023-02-17T21:38:23.286Z] $ docker rm -f --volumes 4430ce68ba3db91a6db006fbfd4a693d9e6031216e550ba8354585297ef68c01 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:38:23.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T21:38:23.864Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T21:38:24.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T21:38:24.786Z] + ls -al . [2023-02-17T21:38:24.786Z] total 236 [2023-02-17T21:38:24.786Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 21:37 . [2023-02-17T21:38:24.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:36 .. [2023-02-17T21:38:24.786Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:38 .git [2023-02-17T21:38:24.786Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:36 .github [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 17 21:36 .gitignore [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 21:36 .golangci.yml [2023-02-17T21:38:24.786Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:37 .semver [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 17 21:36 Attribution.txt [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 17 21:36 CHANGELOG.md [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 17 21:36 Dockerfile [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:36 GOVERNANCE.md [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 17 21:36 Jenkinsfile [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 17 21:36 LICENSE [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 17 21:36 Makefile [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 17 21:36 OWNERS.md [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 17 21:36 README.md [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 21:37 VERSION [2023-02-17T21:38:24.786Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:36 bin [2023-02-17T21:38:24.786Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:36 cmd [2023-02-17T21:38:24.786Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 17 21:38 coverage.out [2023-02-17T21:38:24.786Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 21:36 doc [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 17 21:36 go.mod [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 17 21:36 go.sum [2023-02-17T21:38:24.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:36 internal [2023-02-17T21:38:24.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:36 snap [2023-02-17T21:38:24.786Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 17 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:38:25.187Z] + 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=e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 --label arch=amd64 --label version=0.0.0 . [2023-02-17T21:38:25.187Z] Sending build context to Docker daemon 27.8MB [2023-02-17T21:38:25.187Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:38:25.187Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-17T21:38:25.187Z] ---> 2e52f872db40 [2023-02-17T21:38:25.187Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:38:25.446Z] ---> Running in b6ad76cf66ae [2023-02-17T21:38:25.446Z] Removing intermediate container b6ad76cf66ae [2023-02-17T21:38:25.446Z] ---> c3f00bbf1bac [2023-02-17T21:38:25.446Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:38:25.446Z] ---> Running in a48f237597da [2023-02-17T21:38:25.446Z] Removing intermediate container a48f237597da [2023-02-17T21:38:25.446Z] ---> 048ca8186af5 [2023-02-17T21:38:25.446Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-17T21:38:25.446Z] ---> Running in 28ff6a1badac [2023-02-17T21:38:25.703Z] Removing intermediate container 28ff6a1badac [2023-02-17T21:38:25.703Z] ---> 75e0199f650a [2023-02-17T21:38:25.703Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:38:25.703Z] ---> Running in 1e36f1647722 [2023-02-17T21:38:25.703Z] Removing intermediate container 1e36f1647722 [2023-02-17T21:38:25.703Z] ---> 0667393f480a [2023-02-17T21:38:25.703Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-17T21:38:25.703Z] ---> Running in 4d7ca250a268 [2023-02-17T21:38:25.703Z] Removing intermediate container 4d7ca250a268 [2023-02-17T21:38:25.703Z] ---> 5cc235c11906 [2023-02-17T21:38:25.703Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:38:25.703Z] ---> Running in 4efe329d9be8 [2023-02-17T21:38:25.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T21:38:26.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T21:38:26.485Z] OK: 211 MiB in 51 packages [2023-02-17T21:38:26.742Z] Removing intermediate container 4efe329d9be8 [2023-02-17T21:38:26.742Z] ---> 1cbe47c57d52 [2023-02-17T21:38:26.742Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-17T21:38:26.742Z] ---> Running in 6fbde65d7615 [2023-02-17T21:38:26.742Z] Removing intermediate container 6fbde65d7615 [2023-02-17T21:38:26.742Z] ---> d3b42e84e963 [2023-02-17T21:38:26.742Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-17T21:38:27.003Z] ---> e6eadd55acc0 [2023-02-17T21:38:27.003Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:38:27.003Z] ---> Running in 2be24629de5e [2023-02-17T21:38:27.569Z] Removing intermediate container 2be24629de5e [2023-02-17T21:38:27.569Z] ---> 38cfbbb677b8 [2023-02-17T21:38:27.569Z] Step 12/26 : COPY . . [2023-02-17T21:38:28.212Z] ---> b68c0ae45f7e [2023-02-17T21:38:28.212Z] Step 13/26 : RUN ${MAKE} [2023-02-17T21:38:28.212Z] ---> Running in 8794af46b7dd [2023-02-17T21:38:28.478Z] 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-02-17T21:38:50.493Z] Removing intermediate container 8794af46b7dd [2023-02-17T21:38:50.494Z] ---> 9c2329ca4715 [2023-02-17T21:38:50.494Z] Step 14/26 : FROM alpine:3.16 [2023-02-17T21:38:50.494Z] 3.16: Pulling from library/alpine [2023-02-17T21:38:50.494Z] ef5531b6e74e: Pulling fs layer [2023-02-17T21:38:50.494Z] ef5531b6e74e: Verifying Checksum [2023-02-17T21:38:50.494Z] ef5531b6e74e: Download complete [2023-02-17T21:38:50.494Z] ef5531b6e74e: Pull complete [2023-02-17T21:38:50.494Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T21:38:50.494Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T21:38:50.494Z] ---> dfd21b5a31f5 [2023-02-17T21:38:50.494Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-17T21:38:50.494Z] ---> Running in b84befc21186 [2023-02-17T21:38:50.494Z] Removing intermediate container b84befc21186 [2023-02-17T21:38:50.494Z] ---> 5856989e27d4 [2023-02-17T21:38:50.494Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-17T21:38:50.494Z] ---> Running in 1de6ab88fbb8 [2023-02-17T21:38:50.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T21:38:50.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T21:38:50.753Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T21:38:50.753Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:38:50.753Z] OK: 6 MiB in 15 packages [2023-02-17T21:38:51.011Z] Removing intermediate container 1de6ab88fbb8 [2023-02-17T21:38:51.011Z] ---> d926d382e02d [2023-02-17T21:38:51.011Z] Step 17/26 : WORKDIR / [2023-02-17T21:38:51.269Z] ---> Running in a58fe368734d [2023-02-17T21:38:51.269Z] Removing intermediate container a58fe368734d [2023-02-17T21:38:51.269Z] ---> ecd8c0cc680e [2023-02-17T21:38:51.269Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-17T21:38:52.205Z] ---> 61ec9f1c9da5 [2023-02-17T21:38:52.205Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-17T21:38:52.205Z] ---> 9eb31afd7fc6 [2023-02-17T21:38:52.205Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-17T21:38:52.205Z] ---> a8b33a945fab [2023-02-17T21:38:52.205Z] Step 21/26 : EXPOSE 59984 [2023-02-17T21:38:52.205Z] ---> Running in ea95c56fb3df [2023-02-17T21:38:52.205Z] Removing intermediate container ea95c56fb3df [2023-02-17T21:38:52.205Z] ---> 319822c7b637 [2023-02-17T21:38:52.205Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-17T21:38:52.463Z] ---> Running in d39b2bce2949 [2023-02-17T21:38:52.463Z] Removing intermediate container d39b2bce2949 [2023-02-17T21:38:52.463Z] ---> 812b69acb8dd [2023-02-17T21:38:52.463Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T21:38:52.463Z] ---> Running in 2c0c1f1eef42 [2023-02-17T21:38:52.463Z] Removing intermediate container 2c0c1f1eef42 [2023-02-17T21:38:52.463Z] ---> 34c662aa26a5 [2023-02-17T21:38:52.463Z] Step 24/26 : LABEL arch=amd64 [2023-02-17T21:38:52.463Z] ---> Running in bc7fab9bc2d9 [2023-02-17T21:38:52.722Z] Removing intermediate container bc7fab9bc2d9 [2023-02-17T21:38:52.722Z] ---> 2f36a123594a [2023-02-17T21:38:52.722Z] Step 25/26 : LABEL git_sha=e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [2023-02-17T21:38:52.722Z] ---> Running in 06382add1a62 [2023-02-17T21:38:52.722Z] Removing intermediate container 06382add1a62 [2023-02-17T21:38:52.722Z] ---> 83bc462bc8c8 [2023-02-17T21:38:52.722Z] Step 26/26 : LABEL version=0.0.0 [2023-02-17T21:38:52.722Z] ---> Running in 98e1f9e590a1 [2023-02-17T21:38:52.722Z] Removing intermediate container 98e1f9e590a1 [2023-02-17T21:38:52.722Z] ---> b8cf34a5bfdf [2023-02-17T21:38:52.722Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T21:38:52.722Z] Successfully built b8cf34a5bfdf [2023-02-17T21:38:52.722Z] 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-02-17T21:38:53.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:38:53.540Z] [2023-02-17T21:38:53.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:38:53.909Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:38:53.909Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T21:38:53.909Z] 5eb5b503b376: Pulling fs layer [2023-02-17T21:38:53.909Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T21:38:53.909Z] ec43610c2a17: Pulling fs layer [2023-02-17T21:38:53.909Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T21:38:53.909Z] 33b1e0a273af: Pulling fs layer [2023-02-17T21:38:53.909Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T21:38:53.909Z] 2f39f015ded8: Pulling fs layer [2023-02-17T21:38:53.909Z] 3a2ae6a8a46f: Waiting [2023-02-17T21:38:53.909Z] 33b1e0a273af: Waiting [2023-02-17T21:38:53.909Z] 5d3b04190fa2: Waiting [2023-02-17T21:38:53.909Z] 2f39f015ded8: Waiting [2023-02-17T21:38:53.909Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T21:38:53.909Z] 5c69ac0246d0: Download complete [2023-02-17T21:38:53.909Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T21:38:53.909Z] 3a2ae6a8a46f: Download complete [2023-02-17T21:38:54.172Z] 33b1e0a273af: Verifying Checksum [2023-02-17T21:38:54.172Z] 33b1e0a273af: Download complete [2023-02-17T21:38:54.172Z] 5d3b04190fa2: Download complete [2023-02-17T21:38:54.172Z] ec43610c2a17: Verifying Checksum [2023-02-17T21:38:54.172Z] ec43610c2a17: Download complete [2023-02-17T21:38:54.436Z] 5eb5b503b376: Verifying Checksum [2023-02-17T21:38:54.437Z] 5eb5b503b376: Download complete [2023-02-17T21:38:55.010Z] 2f39f015ded8: Download complete [2023-02-17T21:38:55.575Z] 5eb5b503b376: Pull complete [2023-02-17T21:38:55.832Z] 5c69ac0246d0: Pull complete [2023-02-17T21:38:56.089Z] ec43610c2a17: Pull complete [2023-02-17T21:38:56.089Z] 3a2ae6a8a46f: Pull complete [2023-02-17T21:38:56.347Z] 33b1e0a273af: Pull complete [2023-02-17T21:38:56.604Z] 5d3b04190fa2: Pull complete [2023-02-17T21:39:00.798Z] 2f39f015ded8: Pull complete [2023-02-17T21:39:00.798Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T21:39:00.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:39:00.798Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:39:01.022Z] prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container [2023-02-17T21:39:01.046Z] $ 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-234 -v /w/workspace/undry_device-onvif-camera_PR-234:/w/workspace/undry_device-onvif-camera_PR-234:rw,z -v /w/workspace/undry_device-onvif-camera_PR-234@tmp:/w/workspace/undry_device-onvif-camera_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T21:39:04.518Z] $ docker top efe07c3363fad6900eaa0b558527988454102a8b37b536a1990c6c6485fcd368 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:39:04.973Z] ---> job-cost.sh [2023-02-17T21:39:04.974Z] lf-activate-venv: SKIPPING [2023-02-17T21:39:04.974Z] INFO: No Stack... [2023-02-17T21:39:08.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T21:39:08.835Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T21:39:09.149Z] + cat /w/workspace/undry_device-onvif-camera_PR-234/archives/cost.csv [2023-02-17T21:39:09.149Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T21:39:09.190Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-234-1-stack-cost] [2023-02-17T21:39:09.195Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-234-1-stack-cost] did not exist. Created. [2023-02-17T21:39:09.195Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T21:39:09.574Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T21:39:09.640Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T21:39:09.654Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T21:39:09.727Z] $ docker stop --time=1 efe07c3363fad6900eaa0b558527988454102a8b37b536a1990c6c6485fcd368 [2023-02-17T21:39:10.895Z] $ docker rm -f --volumes efe07c3363fad6900eaa0b558527988454102a8b37b536a1990c6c6485fcd368 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T21:42:18.740Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6508 in /w/workspace/undry_device-onvif-camera_PR-234 [Pipeline] { [Pipeline] ws [2023-02-17T21:42:18.800Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-17T21:42:18.883Z] The recommended git tool is: git [2023-02-17T21:42:25.228Z] using credential edgex-jenkins-ssh [2023-02-17T21:42:25.246Z] Cloning the remote Git repository [2023-02-17T21:42:25.309Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-17T21:42:25.422Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-17T21:42:25.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-17T21:42:25.624Z] > git --version # timeout=10 [2023-02-17T21:42:25.649Z] > git --version # 'git version 2.25.1' [2023-02-17T21:42:25.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T21:42:25.724Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T21:42:27.255Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-17T21:42:27.277Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T21:42:29.023Z] Merging remotes/origin/main commit 03e3920523c9ccf0abebb32dc2ec7b89e7815765 into PR head commit e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [2023-02-17T21:42:28.305Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-17T21:42:28.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-17T21:42:28.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T21:42:28.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T21:42:29.043Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T21:42:29.064Z] > git checkout -f e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 # timeout=10 [2023-02-17T21:42:29.526Z] Merge succeeded, producing e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [2023-02-17T21:42:29.526Z] Checking out Revision e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 (PR-234) [2023-02-17T21:42:30.543Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-17T21:42:30.595Z] > git --version # timeout=10 [2023-02-17T21:42:30.606Z] > git --version # 'git version 2.25.1' [2023-02-17T21:42:30.623Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T21:42:29.416Z] > git remote # timeout=10 [2023-02-17T21:42:29.436Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T21:42:29.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T21:42:29.472Z] > git merge 03e3920523c9ccf0abebb32dc2ec7b89e7815765 # timeout=10 [2023-02-17T21:42:29.504Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T21:42:29.535Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T21:42:29.554Z] > git checkout -f e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T21:42:31.841Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T21:42:31.841Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T21:42:31.841Z] Dload Upload Total Spent Left Speed [2023-02-17T21:42:31.841Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-02-17T21:42:32.517Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T21:42:32.868Z] + + sudo teesudo /etc/docker/daemon.new jq [2023-02-17T21:42:32.868Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T21:42:34.836Z] { [2023-02-17T21:42:34.836Z] "registry-mirrors": [ [2023-02-17T21:42:34.836Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T21:42:34.836Z] ], [2023-02-17T21:42:34.836Z] "bip": "10.250.0.254/24", [2023-02-17T21:42:34.836Z] "hosts": [ [2023-02-17T21:42:34.836Z] "tcp://0.0.0.0:5555", [2023-02-17T21:42:34.836Z] "unix:///var/run/docker.sock" [2023-02-17T21:42:34.836Z] ], [2023-02-17T21:42:34.836Z] "mtu": 1458, [2023-02-17T21:42:34.836Z] "selinux-enabled": true, [2023-02-17T21:42:34.836Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T21:42:34.836Z] } [Pipeline] sh [2023-02-17T21:42:35.191Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T21:42:35.546Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:42:53.900Z] provisioning config files... [2023-02-17T21:42:53.931Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4122082096015362655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:54.336Z] ---> docker-login.sh [2023-02-17T21:42:54.336Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:42:54.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:42:54.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:42:54.931Z] Configure a credential helper to remove this warning. See [2023-02-17T21:42:54.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:42:54.931Z] [2023-02-17T21:42:54.931Z] Login Succeeded [2023-02-17T21:42:54.931Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:42:55.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:42:55.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:42:55.475Z] Configure a credential helper to remove this warning. See [2023-02-17T21:42:55.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:42:55.475Z] [2023-02-17T21:42:55.475Z] Login Succeeded [2023-02-17T21:42:55.475Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:42:55.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:42:55.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:42:55.746Z] Configure a credential helper to remove this warning. See [2023-02-17T21:42:55.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:42:55.746Z] [2023-02-17T21:42:55.746Z] Login Succeeded [2023-02-17T21:42:55.746Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:42:56.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:42:56.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:42:56.289Z] Configure a credential helper to remove this warning. See [2023-02-17T21:42:56.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:42:56.289Z] [2023-02-17T21:42:56.289Z] Login Succeeded [2023-02-17T21:42:56.289Z] docker.io [2023-02-17T21:42:56.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:42:56.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:42:56.826Z] Configure a credential helper to remove this warning. See [2023-02-17T21:42:56.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:42:56.826Z] [2023-02-17T21:42:56.826Z] Login Succeeded [2023-02-17T21:42:56.826Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:42:56.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T21:42:57.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:42:57.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:42:57.343Z] ========================================================= [2023-02-17T21:42:57.343Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T21:42:57.343Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:42:57.861Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T21:42:58.461Z] Sending build context to Docker daemon 20.55MB [2023-02-17T21:42:58.462Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:42:58.462Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-17T21:42:58.739Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T21:42:58.739Z] 9b18e9b68314: Pulling fs layer [2023-02-17T21:42:58.739Z] 35d82f9e3411: Pulling fs layer [2023-02-17T21:42:58.739Z] e16973657156: Pulling fs layer [2023-02-17T21:42:58.739Z] fc693d55d65f: Pulling fs layer [2023-02-17T21:42:58.739Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T21:42:58.739Z] dda99020689f: Pulling fs layer [2023-02-17T21:42:58.739Z] db1c61fa0a46: Pulling fs layer [2023-02-17T21:42:58.739Z] 891c053d2c06: Pulling fs layer [2023-02-17T21:42:58.739Z] 7e9fc2657dce: Waiting [2023-02-17T21:42:58.739Z] dda99020689f: Waiting [2023-02-17T21:42:58.739Z] db1c61fa0a46: Waiting [2023-02-17T21:42:58.739Z] 891c053d2c06: Waiting [2023-02-17T21:42:58.739Z] fc693d55d65f: Waiting [2023-02-17T21:42:58.739Z] e16973657156: Verifying Checksum [2023-02-17T21:42:58.739Z] e16973657156: Download complete [2023-02-17T21:42:58.739Z] 35d82f9e3411: Verifying Checksum [2023-02-17T21:42:58.739Z] 35d82f9e3411: Download complete [2023-02-17T21:42:58.739Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T21:42:58.739Z] 7e9fc2657dce: Download complete [2023-02-17T21:42:58.739Z] dda99020689f: Verifying Checksum [2023-02-17T21:42:58.739Z] dda99020689f: Download complete [2023-02-17T21:42:58.739Z] 9b18e9b68314: Verifying Checksum [2023-02-17T21:42:58.739Z] 9b18e9b68314: Download complete [2023-02-17T21:42:59.724Z] 9b18e9b68314: Pull complete [2023-02-17T21:42:59.996Z] 891c053d2c06: Verifying Checksum [2023-02-17T21:42:59.996Z] 891c053d2c06: Download complete [2023-02-17T21:43:00.591Z] 35d82f9e3411: Pull complete [2023-02-17T21:43:00.862Z] e16973657156: Pull complete [2023-02-17T21:43:01.454Z] db1c61fa0a46: Verifying Checksum [2023-02-17T21:43:01.454Z] db1c61fa0a46: Download complete [2023-02-17T21:43:02.062Z] fc693d55d65f: Verifying Checksum [2023-02-17T21:43:02.062Z] fc693d55d65f: Download complete [2023-02-17T21:43:14.405Z] fc693d55d65f: Pull complete [2023-02-17T21:43:14.405Z] 7e9fc2657dce: Pull complete [2023-02-17T21:43:14.405Z] dda99020689f: Pull complete [2023-02-17T21:43:19.846Z] db1c61fa0a46: Pull complete [2023-02-17T21:43:20.839Z] 891c053d2c06: Pull complete [2023-02-17T21:43:20.839Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T21:43:20.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T21:43:20.839Z] ---> f96f9c87975a [2023-02-17T21:43:20.839Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:43:22.798Z] ---> Running in fa2a6aec5d47 [2023-02-17T21:43:23.078Z] Removing intermediate container fa2a6aec5d47 [2023-02-17T21:43:23.078Z] ---> d5f725d9a85f [2023-02-17T21:43:23.078Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:43:23.348Z] ---> Running in 1cc222500f77 [2023-02-17T21:43:23.617Z] Removing intermediate container 1cc222500f77 [2023-02-17T21:43:23.617Z] ---> 6088959020c5 [2023-02-17T21:43:23.617Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-17T21:43:23.617Z] ---> Running in dd2bbc314a2f [2023-02-17T21:43:23.886Z] Removing intermediate container dd2bbc314a2f [2023-02-17T21:43:23.886Z] ---> 501f89e659d8 [2023-02-17T21:43:23.886Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:43:24.157Z] ---> Running in 2c368a9f50a3 [2023-02-17T21:43:24.441Z] Removing intermediate container 2c368a9f50a3 [2023-02-17T21:43:24.441Z] ---> 9339336ed8e6 [2023-02-17T21:43:24.441Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-17T21:43:24.714Z] ---> Running in 8520f760058d [2023-02-17T21:43:24.985Z] Removing intermediate container 8520f760058d [2023-02-17T21:43:24.985Z] ---> 7b484de71413 [2023-02-17T21:43:24.986Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:43:24.986Z] ---> Running in 9ef84b6da08c [2023-02-17T21:43:26.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T21:43:26.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T21:43:27.641Z] OK: 221 MiB in 51 packages [2023-02-17T21:43:28.615Z] Removing intermediate container 9ef84b6da08c [2023-02-17T21:43:28.615Z] ---> f140805ffd00 [2023-02-17T21:43:28.615Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-17T21:43:28.615Z] ---> Running in e01d971033d0 [2023-02-17T21:43:29.204Z] Removing intermediate container e01d971033d0 [2023-02-17T21:43:29.204Z] ---> ea3a3ce0fdef [2023-02-17T21:43:29.204Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-17T21:43:29.474Z] ---> d16012f1b80a [2023-02-17T21:43:29.474Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:43:29.744Z] ---> Running in ce3642293468 [2023-02-17T21:44:51.417Z] Removing intermediate container ce3642293468 [2023-02-17T21:44:51.417Z] ---> a6824e3518d3 [2023-02-17T21:44:51.417Z] Step 12/13 : COPY . . [2023-02-17T21:44:51.417Z] ---> c09aa4a513de [2023-02-17T21:44:51.417Z] Step 13/13 : RUN ${MAKE} [2023-02-17T21:44:51.417Z] ---> Running in b10e5d748e97 [2023-02-17T21:44:51.417Z] noop [2023-02-17T21:44:51.417Z] Removing intermediate container b10e5d748e97 [2023-02-17T21:44:51.417Z] ---> 88308fa9cc1e [2023-02-17T21:44:51.417Z] Successfully built 88308fa9cc1e [2023-02-17T21:44:51.417Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:44:51.912Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T21:44:51.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:44:52.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-6508 does not seem to be running inside a container [2023-02-17T21:44:52.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T21:44:53.546Z] $ docker top 9050298213a05308621e919e23dde84d7428ca9fead810cac770b8531005c9c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:44:54.453Z] + go version [2023-02-17T21:44:54.453Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T21:44:54.483Z] $ docker stop --time=1 9050298213a05308621e919e23dde84d7428ca9fead810cac770b8531005c9c4 [2023-02-17T21:44:56.158Z] $ docker rm -f --volumes 9050298213a05308621e919e23dde84d7428ca9fead810cac770b8531005c9c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:44:56.984Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T21:44:56.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:44:57.228Z] prd-ubuntu20.04-docker-arm64-4c-16g-6508 does not seem to be running inside a container [2023-02-17T21:44:57.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T21:44:59.451Z] $ docker top b8433e451e38709e2e4f1472750bd5d12c0ab5cf674a2d8e9e103cc99f5c12e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:45:00.341Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T21:45:01.060Z] + make test [2023-02-17T21:45:01.060Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T21:45:03.013Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-17T21:46:39.696Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-17T21:46:45.054Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.174s coverage: 29.3% of statements [2023-02-17T21:46:45.054Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-17T21:47:03.323Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.353s coverage: 86.5% of statements [2023-02-17T21:47:03.323Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T21:47:03.323Z] go vet ./... [2023-02-17T21:47:35.706Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T21:47:35.706Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T21:47:35.706Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T21:47:35.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T21:47:35.780Z] $ docker stop --time=1 b8433e451e38709e2e4f1472750bd5d12c0ab5cf674a2d8e9e103cc99f5c12e4 [2023-02-17T21:47:37.763Z] $ docker rm -f --volumes b8433e451e38709e2e4f1472750bd5d12c0ab5cf674a2d8e9e103cc99f5c12e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:47:38.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T21:47:38.966Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T21:47:39.636Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T21:47:40.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T21:47:40.583Z] + ls -al . [2023-02-17T21:47:40.583Z] total 232 [2023-02-17T21:47:40.583Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 21:45 . [2023-02-17T21:47:40.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:42 .. [2023-02-17T21:47:40.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:42 .git [2023-02-17T21:47:40.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:42 .github [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 17 21:42 .gitignore [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 21:42 .golangci.yml [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 17 21:42 Attribution.txt [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 17 21:42 CHANGELOG.md [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 17 21:42 Dockerfile [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:42 GOVERNANCE.md [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 17 21:42 Jenkinsfile [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 17 21:42 LICENSE [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 17 21:42 Makefile [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 17 21:42 OWNERS.md [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 17 21:42 README.md [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 21:37 VERSION [2023-02-17T21:47:40.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:42 bin [2023-02-17T21:47:40.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:42 cmd [2023-02-17T21:47:40.583Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 17 21:47 coverage.out [2023-02-17T21:47:40.583Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 21:42 doc [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 17 21:42 go.mod [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 17 21:42 go.sum [2023-02-17T21:47:40.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:42 internal [2023-02-17T21:47:40.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:42 snap [2023-02-17T21:47:40.583Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 17 21:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:47:40.996Z] + 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=e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 --label arch=arm64 --label version=0.0.0 . [2023-02-17T21:47:41.961Z] Sending build context to Docker daemon 20.63MB [2023-02-17T21:47:41.961Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:47:41.961Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-17T21:47:41.961Z] ---> 88308fa9cc1e [2023-02-17T21:47:41.961Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:47:41.961Z] ---> Running in c06018652335 [2023-02-17T21:47:42.924Z] Removing intermediate container c06018652335 [2023-02-17T21:47:42.924Z] ---> c4a3ec036b93 [2023-02-17T21:47:42.924Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:47:42.924Z] ---> Running in 42d762b02b04 [2023-02-17T21:47:43.203Z] Removing intermediate container 42d762b02b04 [2023-02-17T21:47:43.203Z] ---> ca3812efbe87 [2023-02-17T21:47:43.203Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-17T21:47:43.484Z] ---> Running in 8561d14760c8 [2023-02-17T21:47:43.759Z] Removing intermediate container 8561d14760c8 [2023-02-17T21:47:43.759Z] ---> 19ab911b7cf5 [2023-02-17T21:47:43.759Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:47:43.759Z] ---> Running in 12bbdc78d5aa [2023-02-17T21:47:44.027Z] Removing intermediate container 12bbdc78d5aa [2023-02-17T21:47:44.027Z] ---> f65208dae613 [2023-02-17T21:47:44.027Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-17T21:47:44.295Z] ---> Running in 33c12232f5f8 [2023-02-17T21:47:44.566Z] Removing intermediate container 33c12232f5f8 [2023-02-17T21:47:44.566Z] ---> 4a88a5f66599 [2023-02-17T21:47:44.566Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:47:44.566Z] ---> Running in e18e7562e7ed [2023-02-17T21:47:45.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T21:47:45.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T21:47:46.937Z] OK: 221 MiB in 51 packages [2023-02-17T21:47:49.187Z] Removing intermediate container e18e7562e7ed [2023-02-17T21:47:49.187Z] ---> d7f60bcc8b18 [2023-02-17T21:47:49.187Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-17T21:47:49.187Z] ---> Running in 9352cf3a56c4 [2023-02-17T21:47:49.456Z] Removing intermediate container 9352cf3a56c4 [2023-02-17T21:47:49.456Z] ---> d26504f7cdab [2023-02-17T21:47:49.456Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-17T21:47:49.729Z] ---> c3b952c4a509 [2023-02-17T21:47:49.729Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:47:50.000Z] ---> Running in 2939330ce5b1 [2023-02-17T21:47:52.619Z] Removing intermediate container 2939330ce5b1 [2023-02-17T21:47:52.619Z] ---> a1b946c6d1cc [2023-02-17T21:47:52.619Z] Step 12/26 : COPY . . [2023-02-17T21:47:54.030Z] ---> d52d37c6545f [2023-02-17T21:47:54.030Z] Step 13/26 : RUN ${MAKE} [2023-02-17T21:47:54.030Z] ---> Running in 06b0102daf3a [2023-02-17T21:47:55.005Z] 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-02-17T21:50:01.684Z] Removing intermediate container 06b0102daf3a [2023-02-17T21:50:01.684Z] ---> 0f55b2368e83 [2023-02-17T21:50:01.684Z] Step 14/26 : FROM alpine:3.16 [2023-02-17T21:50:01.684Z] 3.16: Pulling from library/alpine [2023-02-17T21:50:01.684Z] 3760b48202b3: Pulling fs layer [2023-02-17T21:50:01.684Z] 3760b48202b3: Verifying Checksum [2023-02-17T21:50:01.684Z] 3760b48202b3: Download complete [2023-02-17T21:50:01.684Z] 3760b48202b3: Pull complete [2023-02-17T21:50:01.684Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T21:50:01.684Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T21:50:01.684Z] ---> 4c81e5bf8899 [2023-02-17T21:50:01.684Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-17T21:50:01.684Z] ---> Running in da968e75344c [2023-02-17T21:50:01.684Z] Removing intermediate container da968e75344c [2023-02-17T21:50:01.684Z] ---> 704a3b72dc8b [2023-02-17T21:50:01.684Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-17T21:50:01.684Z] ---> Running in a292f17006c2 [2023-02-17T21:50:01.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T21:50:01.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T21:50:02.641Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T21:50:02.641Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:50:02.641Z] OK: 5 MiB in 15 packages [2023-02-17T21:50:03.603Z] Removing intermediate container a292f17006c2 [2023-02-17T21:50:03.603Z] ---> 78485420ab39 [2023-02-17T21:50:03.603Z] Step 17/26 : WORKDIR / [2023-02-17T21:50:03.603Z] ---> Running in 3f471f0bb4c5 [2023-02-17T21:50:03.869Z] Removing intermediate container 3f471f0bb4c5 [2023-02-17T21:50:03.869Z] ---> 1e51581ef963 [2023-02-17T21:50:03.869Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-17T21:50:05.288Z] ---> 938b37e28b4d [2023-02-17T21:50:05.288Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-17T21:50:05.872Z] ---> 3f8c0e4e4313 [2023-02-17T21:50:05.872Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-17T21:50:06.149Z] ---> e73943ce5e79 [2023-02-17T21:50:06.149Z] Step 21/26 : EXPOSE 59984 [2023-02-17T21:50:06.416Z] ---> Running in 940ca788be35 [2023-02-17T21:50:06.683Z] Removing intermediate container 940ca788be35 [2023-02-17T21:50:06.683Z] ---> ce47f354667e [2023-02-17T21:50:06.683Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-17T21:50:06.683Z] ---> Running in 661fcfd85d31 [2023-02-17T21:50:06.949Z] Removing intermediate container 661fcfd85d31 [2023-02-17T21:50:06.949Z] ---> 0d5337431e82 [2023-02-17T21:50:06.949Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T21:50:06.949Z] ---> Running in bf9211ece351 [2023-02-17T21:50:07.221Z] Removing intermediate container bf9211ece351 [2023-02-17T21:50:07.221Z] ---> 25b1fd0665c1 [2023-02-17T21:50:07.221Z] Step 24/26 : LABEL arch=arm64 [2023-02-17T21:50:07.491Z] ---> Running in 35d7637cd5fe [2023-02-17T21:50:07.757Z] Removing intermediate container 35d7637cd5fe [2023-02-17T21:50:07.757Z] ---> a01643c44cb4 [2023-02-17T21:50:07.757Z] Step 25/26 : LABEL git_sha=e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [2023-02-17T21:50:07.757Z] ---> Running in a5d56a137eeb [2023-02-17T21:50:08.024Z] Removing intermediate container a5d56a137eeb [2023-02-17T21:50:08.024Z] ---> 045eb8a08b42 [2023-02-17T21:50:08.024Z] Step 26/26 : LABEL version=0.0.0 [2023-02-17T21:50:08.024Z] ---> Running in a7567bad35de [2023-02-17T21:50:08.290Z] Removing intermediate container a7567bad35de [2023-02-17T21:50:08.290Z] ---> 2f92dc839365 [2023-02-17T21:50:08.290Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T21:50:08.556Z] Successfully built 2f92dc839365 [2023-02-17T21:50:08.556Z] 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-02-17T21:50:09.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T21:50:09.418Z] [2023-02-17T21:50:09.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:50:09.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T21:50:09.824Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T21:50:09.824Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T21:50:09.824Z] 04944245beec: Pulling fs layer [2023-02-17T21:50:09.824Z] 699f458cf7ca: Pulling fs layer [2023-02-17T21:50:09.824Z] 765212b225bb: Pulling fs layer [2023-02-17T21:50:09.824Z] f23df028b6ca: Pulling fs layer [2023-02-17T21:50:09.824Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T21:50:09.824Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T21:50:09.824Z] f23df028b6ca: Waiting [2023-02-17T21:50:09.824Z] d65c8cfc05b1: Waiting [2023-02-17T21:50:09.824Z] 2437ff75d9bd: Waiting [2023-02-17T21:50:09.824Z] 765212b225bb: Waiting [2023-02-17T21:50:10.094Z] 04944245beec: Download complete [2023-02-17T21:50:10.094Z] 765212b225bb: Verifying Checksum [2023-02-17T21:50:10.094Z] 765212b225bb: Download complete [2023-02-17T21:50:10.094Z] f23df028b6ca: Verifying Checksum [2023-02-17T21:50:10.094Z] f23df028b6ca: Download complete [2023-02-17T21:50:10.094Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T21:50:10.094Z] d65c8cfc05b1: Download complete [2023-02-17T21:50:10.363Z] 699f458cf7ca: Verifying Checksum [2023-02-17T21:50:10.363Z] 699f458cf7ca: Download complete [2023-02-17T21:50:10.630Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T21:50:10.630Z] 8998bd30e6a1: Download complete [2023-02-17T21:50:13.220Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T21:50:14.634Z] 8998bd30e6a1: Pull complete [2023-02-17T21:50:15.218Z] 04944245beec: Pull complete [2023-02-17T21:50:16.628Z] 699f458cf7ca: Pull complete [2023-02-17T21:50:16.628Z] 765212b225bb: Pull complete [2023-02-17T21:50:17.215Z] f23df028b6ca: Pull complete [2023-02-17T21:50:17.482Z] d65c8cfc05b1: Pull complete [2023-02-17T21:50:32.476Z] 2437ff75d9bd: Pull complete [2023-02-17T21:50:32.476Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T21:50:32.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T21:50:32.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:50:32.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-6508 does not seem to be running inside a container [2023-02-17T21:50:32.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T21:50:35.373Z] $ docker top 8000ffc59e21194a622419d20ce640af6f887e02588e5583a5389e0b2945eb38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:50:36.263Z] ---> job-cost.sh [2023-02-17T21:50:36.263Z] lf-activate-venv: SKIPPING [2023-02-17T21:50:36.263Z] INFO: No Stack... [2023-02-17T21:50:36.529Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T21:50:37.483Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T21:50:37.826Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-02-17T21:50:37.826Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T21:50:37.881Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-234-1-stack-cost] [2023-02-17T21:50:37.886Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-234-1-stack-cost] did not exist. Created. [2023-02-17T21:50:37.886Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T21:50:38.298Z] /w/workspace/device-onvif-camera/1@tmp/durable-b9e2f88a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T21:50:38.650Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T21:50:38.949Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T21:50:39.016Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T21:50:39.031Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T21:50:39.105Z] $ docker stop --time=1 8000ffc59e21194a622419d20ce640af6f887e02588e5583a5389e0b2945eb38 [2023-02-17T21:50:40.591Z] $ docker rm -f --volumes 8000ffc59e21194a622419d20ce640af6f887e02588e5583a5389e0b2945eb38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-17T21:50:41.561Z] provisioning config files... [2023-02-17T21:50:41.567Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-234@tmp/config11555812225871441006tmp [Pipeline] { [Pipeline] sh [2023-02-17T21:50:41.917Z] + set +x [2023-02-17T21:50:41.917Z] + curl -s https://codecov.io/bash [2023-02-17T21:50:41.917Z] + bash -s -- [2023-02-17T21:50:41.917Z] [2023-02-17T21:50:41.917Z] _____ _ [2023-02-17T21:50:41.917Z] / ____| | | [2023-02-17T21:50:41.917Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T21:50:41.917Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T21:50:41.917Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T21:50:41.917Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T21:50:41.917Z] Bash-1.0.6 [2023-02-17T21:50:41.917Z] [2023-02-17T21:50:41.917Z] [2023-02-17T21:50:41.917Z] ==> git version 2.25.1 found [2023-02-17T21:50:41.917Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-17T21:50:41.917Z] Release-Date: 2020-01-08 [2023-02-17T21:50:41.917Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-17T21:50:41.917Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T21:50:41.917Z] ==> Jenkins CI detected. [2023-02-17T21:50:41.917Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-234 [2023-02-17T21:50:41.917Z] project root: . [2023-02-17T21:50:41.917Z] --> token set from env [2023-02-17T21:50:41.917Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T21:50:41.917Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T21:50:41.917Z] ==> Python coveragepy not found [2023-02-17T21:50:41.917Z] ==> Searching for coverage reports in: [2023-02-17T21:50:41.917Z] + . [2023-02-17T21:50:41.917Z] -> Found 1 reports [2023-02-17T21:50:41.917Z] ==> Detecting git/mercurial file structure [2023-02-17T21:50:41.917Z] ==> Reading reports [2023-02-17T21:50:41.917Z] + ./coverage.out bytes=79184 [2023-02-17T21:50:41.917Z] ==> Appending adjustments [2023-02-17T21:50:41.917Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T21:50:42.176Z] + Found adjustments [2023-02-17T21:50:42.176Z] ==> Gzipping contents [2023-02-17T21:50:42.176Z] 12K /tmp/codecov.zEqqEa.gz [2023-02-17T21:50:42.176Z] ==> Uploading reports [2023-02-17T21:50:42.176Z] url: https://codecov.io [2023-02-17T21:50:42.176Z] query: branch=PR-234&commit=e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=234&job=&cmd_args= [2023-02-17T21:50:42.176Z] -> Pinging Codecov [2023-02-17T21:50:42.176Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-234&commit=e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=234&job=&cmd_args= [2023-02-17T21:50:42.436Z] -> Uploading to [2023-02-17T21:50:42.436Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/F29A59C45E3A92E06B3E522C9905F8EF/e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1/1fa42d47-be18-4fad-a0bf-198c5a4a8007.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T215042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c93fe20713b02ff69be9e05bcce6c8eb12dd1d9275dbd2214d22d1ff420520e [2023-02-17T21:50:42.436Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T21:50:42.436Z] Dload Upload Total Spent Left Speed [2023-02-17T21:50:42.695Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10795 0 0 100 10795 0 43528 --:--:-- --:--:-- --:--:-- 43528 [2023-02-17T21:50:42.695Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e1e5e65aee1b77d75bef1bb32ec8b3e450cd5aa1 [Pipeline] } [2023-02-17T21:50:42.725Z] 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-02-17T21:50:44.525Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-234/archives ] [2023-02-17T21:50:44.525Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-234/archives [2023-02-17T21:50:44.525Z] total 16 [2023-02-17T21:50:44.525Z] drwxr-xr-x 3 root root 4096 Feb 17 21:39 . [2023-02-17T21:50:44.525Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 21:39 .. [2023-02-17T21:50:44.525Z] drwxr-xr-x 2 root root 4096 Feb 17 21:39 cost [2023-02-17T21:50:44.525Z] -rw-r--r-- 1 root root 91 Feb 17 21:39 cost.csv [2023-02-17T21:50:44.525Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-234/archives [2023-02-17T21:50:44.525Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-234/archives [2023-02-17T21:50:44.525Z] total 16 [2023-02-17T21:50:44.525Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:39 . [2023-02-17T21:50:44.525Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 21:39 .. [2023-02-17T21:50:44.525Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 21:39 cost [2023-02-17T21:50:44.525Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 17 21:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:50:44.858Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:50:45.757Z] ---> package-listing.sh [2023-02-17T21:50:45.757Z] ++ facter osfamily [2023-02-17T21:50:45.757Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T21:50:46.016Z] + OS_FAMILY=debian [2023-02-17T21:50:46.016Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-234 [2023-02-17T21:50:46.016Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T21:50:46.016Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T21:50:46.016Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T21:50:46.016Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T21:50:46.016Z] + '[' /w/workspace/undry_device-onvif-camera_PR-234 ']' [2023-02-17T21:50:46.016Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T21:50:46.016Z] + case "${OS_FAMILY}" in [2023-02-17T21:50:46.016Z] + dpkg -l [2023-02-17T21:50:46.016Z] + grep '^ii' [2023-02-17T21:50:46.016Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T21:50:46.016Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T21:50:46.016Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T21:50:46.016Z] + '[' /w/workspace/undry_device-onvif-camera_PR-234 ']' [2023-02-17T21:50:46.016Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-234/archives/ [2023-02-17T21:50:46.016Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-234/archives/ [Pipeline] echo [2023-02-17T21:50:46.053Z] 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-234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T21:50:46.348Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:50:46.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:50:46.981Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:50:47.134Z] prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container [2023-02-17T21:50:47.157Z] $ 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-234/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-234 -v /w/workspace/undry_device-onvif-camera_PR-234:/w/workspace/undry_device-onvif-camera_PR-234:rw,z -v /w/workspace/undry_device-onvif-camera_PR-234@tmp:/w/workspace/undry_device-onvif-camera_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T21:50:47.360Z] $ docker top b0d0fe7ad901bdf341daa1b83f84708bd6e57873ee3b234db83169af5020f478 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:50:47.762Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T21:50:48.080Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T21:50:48.394Z] + ls /var/log/sa-host [2023-02-17T21:50:48.394Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:50:48.535Z] provisioning config files... [2023-02-17T21:50:48.543Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-234@tmp/config15931932346269594274tmp [Pipeline] { [Pipeline] echo [2023-02-17T21:50:48.594Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:50:48.902Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T21:50:48.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:50:49.332Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T21:50:49.365Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:50:49.678Z] ---> sudo-logs.sh [2023-02-17T21:50:49.678Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T21:50:49.761Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:50:50.071Z] ---> job-cost.sh [2023-02-17T21:50:50.071Z] lf-activate-venv: SKIPPING [2023-02-17T21:50:50.072Z] DEBUG: total: 0.2199999988079071 [2023-02-17T21:50:50.072Z] INFO: Retrieving Stack Cost... [2023-02-17T21:50:50.330Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T21:50:50.904Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T21:50:50.935Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:50:51.245Z] ---> logs-deploy.sh [2023-02-17T21:50:51.245Z] lf-activate-venv: SKIPPING [2023-02-17T21:50:51.245Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-234/1 [2023-02-17T21:50:51.245Z] INFO: archiving workspace using pattern(s): [2023-02-17T21:50:52.182Z] Archives upload complete. [2023-02-17T21:50:52.441Z] INFO: archiving logs to Nexus [2023-02-17T21:50:53.013Z] ---> uname -a: [2023-02-17T21:50:53.013Z] Linux prd-ubuntu20-04-docker-8c-8g-6505 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] ---> lscpu: [2023-02-17T21:50:53.013Z] Architecture: x86_64 [2023-02-17T21:50:53.013Z] CPU op-mode(s): 32-bit, 64-bit [2023-02-17T21:50:53.013Z] Byte Order: Little Endian [2023-02-17T21:50:53.013Z] Address sizes: 40 bits physical, 48 bits virtual [2023-02-17T21:50:53.013Z] CPU(s): 8 [2023-02-17T21:50:53.013Z] On-line CPU(s) list: 0-7 [2023-02-17T21:50:53.013Z] Thread(s) per core: 1 [2023-02-17T21:50:53.013Z] Core(s) per socket: 1 [2023-02-17T21:50:53.013Z] Socket(s): 8 [2023-02-17T21:50:53.013Z] NUMA node(s): 1 [2023-02-17T21:50:53.013Z] Vendor ID: AuthenticAMD [2023-02-17T21:50:53.013Z] CPU family: 23 [2023-02-17T21:50:53.013Z] Model: 49 [2023-02-17T21:50:53.013Z] Model name: AMD EPYC-Rome Processor [2023-02-17T21:50:53.013Z] Stepping: 0 [2023-02-17T21:50:53.013Z] CPU MHz: 2800.000 [2023-02-17T21:50:53.013Z] BogoMIPS: 5600.00 [2023-02-17T21:50:53.013Z] Virtualization: AMD-V [2023-02-17T21:50:53.013Z] Hypervisor vendor: KVM [2023-02-17T21:50:53.013Z] Virtualization type: full [2023-02-17T21:50:53.013Z] L1d cache: 256 KiB [2023-02-17T21:50:53.013Z] L1i cache: 256 KiB [2023-02-17T21:50:53.013Z] L2 cache: 4 MiB [2023-02-17T21:50:53.013Z] L3 cache: 128 MiB [2023-02-17T21:50:53.013Z] NUMA node0 CPU(s): 0-7 [2023-02-17T21:50:53.013Z] Vulnerability Itlb multihit: Not affected [2023-02-17T21:50:53.013Z] Vulnerability L1tf: Not affected [2023-02-17T21:50:53.013Z] Vulnerability Mds: Not affected [2023-02-17T21:50:53.013Z] Vulnerability Meltdown: Not affected [2023-02-17T21:50:53.013Z] Vulnerability Mmio stale data: Not affected [2023-02-17T21:50:53.013Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-02-17T21:50:53.013Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-02-17T21:50:53.013Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-02-17T21:50:53.013Z] Vulnerability Srbds: Not affected [2023-02-17T21:50:53.013Z] Vulnerability Tsx async abort: Not affected [2023-02-17T21:50:53.013Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] ---> nproc: [2023-02-17T21:50:53.013Z] 8 [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] ---> df -h: [2023-02-17T21:50:53.013Z] Filesystem Size Used Avail Use% Mounted on [2023-02-17T21:50:53.013Z] overlay 155G 12G 144G 8% / [2023-02-17T21:50:53.013Z] tmpfs 64M 0 64M 0% /dev [2023-02-17T21:50:53.013Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-02-17T21:50:53.013Z] shm 64M 0 64M 0% /dev/shm [2023-02-17T21:50:53.013Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] ---> sar -b -r -n DEV: [2023-02-17T21:50:53.013Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6505) 02/17/23 _x86_64_ (8 CPU) [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] 21:36:04 LINUX RESTART (8 CPU) [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] 21:37:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-02-17T21:50:53.013Z] 21:38:01 211.71 1.62 210.10 0.00 47.98 153193.47 0.00 [2023-02-17T21:50:53.013Z] 21:39:01 157.29 0.17 157.12 0.00 6.00 29990.60 0.00 [2023-02-17T21:50:53.013Z] 21:40:01 25.45 0.02 25.43 0.00 0.93 13627.48 0.00 [2023-02-17T21:50:53.013Z] 21:41:01 1.57 0.00 1.57 0.00 0.00 17.73 0.00 [2023-02-17T21:50:53.013Z] 21:42:01 57.37 12.23 45.14 0.00 5247.26 8748.94 0.00 [2023-02-17T21:50:53.013Z] 21:43:01 4.10 0.02 4.08 0.00 0.13 98.12 0.00 [2023-02-17T21:50:53.013Z] 21:44:01 1.15 0.00 1.15 0.00 0.00 12.93 0.00 [2023-02-17T21:50:53.013Z] 21:45:01 1.65 0.00 1.65 0.00 0.00 18.13 0.00 [2023-02-17T21:50:53.013Z] 21:46:01 1.47 0.00 1.47 0.00 0.00 16.80 0.00 [2023-02-17T21:50:53.013Z] 21:47:01 2.07 0.30 1.77 0.00 10.00 19.99 0.00 [2023-02-17T21:50:53.013Z] 21:48:01 2.43 1.28 1.15 0.00 26.26 14.26 0.00 [2023-02-17T21:50:53.013Z] 21:49:01 1.58 0.00 1.58 0.00 0.00 18.66 0.00 [2023-02-17T21:50:53.013Z] 21:50:01 1.02 0.00 1.02 0.00 0.00 11.33 0.00 [2023-02-17T21:50:53.013Z] Average: 36.07 1.20 34.87 0.00 410.65 15831.44 0.00 [2023-02-17T21:50:53.013Z] [2023-02-17T21:50:53.013Z] 21:37:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-02-17T21:50:53.013Z] 21:38:01 27927080 31248268 1053092 3.20 145964 3367952 2511628 7.40 1545252 2951824 139696 [2023-02-17T21:50:53.013Z] 21:39:01 27593056 31563092 730332 2.22 160072 3953940 1860176 5.48 1305716 3469972 385980 [2023-02-17T21:50:53.013Z] 21:40:01 27610816 31581324 719812 2.19 160272 3954016 1769568 5.22 1304904 3457784 16 [2023-02-17T21:50:53.013Z] 21:41:01 27610804 31581492 719412 2.19 160304 3954008 1769568 5.22 1304804 3457784 20 [2023-02-17T21:50:53.013Z] 21:42:01 27083844 31562536 720908 2.19 193724 4412060 1832564 5.40 1624376 3627916 20 [2023-02-17T21:50:53.013Z] 21:43:01 27088028 31561908 720852 2.19 192296 4408804 1823968 5.38 1623120 3624700 16 [2023-02-17T21:50:53.013Z] 21:44:01 27095444 31569400 713344 2.17 192348 4408808 1823968 5.38 1615784 3624708 8 [2023-02-17T21:50:53.013Z] 21:45:01 27095540 31569540 713140 2.17 192380 4408812 1823968 5.38 1615820 3624704 168 [2023-02-17T21:50:53.013Z] 21:46:01 27095424 31569488 713332 2.17 192464 4408812 1823968 5.38 1616172 3624708 40 [2023-02-17T21:50:53.014Z] 21:47:01 27093868 31568316 714180 2.17 192520 4409108 1823968 5.38 1619500 3624768 184 [2023-02-17T21:50:53.014Z] 21:48:01 27092588 31568976 713576 2.17 192552 4409900 1823968 5.38 1620976 3625244 172 [2023-02-17T21:50:53.014Z] 21:49:01 27092296 31568716 713784 2.17 192576 4409908 1823968 5.38 1620604 3625220 16 [2023-02-17T21:50:53.014Z] 21:50:01 27092248 31568708 713736 2.17 192604 4409912 1823968 5.38 1619864 3625224 36 [2023-02-17T21:50:53.014Z] Average: 27274695 31544751 743038 2.26 181544 4224311 1871942 5.52 1541299 3535735 40490 [2023-02-17T21:50:53.014Z] [2023-02-17T21:50:53.014Z] 21:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-02-17T21:50:53.014Z] 21:38:01 docker0 196.58 251.05 16.04 2064.73 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:38:01 ens3 429.94 337.04 6098.47 45.32 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:38:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:38:01 vetha3433e2 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:39:01 docker0 3.77 7.65 0.22 81.61 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:39:01 ens3 149.73 113.35 2676.71 104.27 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:39:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:40:01 ens3 10.45 7.12 9.51 3.74 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:40:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:41:01 ens3 0.77 0.25 1.39 0.02 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:41:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:42:01 ens3 129.31 74.32 2784.61 5.39 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:42:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:43:01 ens3 0.97 0.60 0.37 0.29 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:44:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:45:01 ens3 0.25 0.13 0.07 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:46:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:47:01 ens3 1.15 0.78 0.66 0.45 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:47:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:48:01 ens3 7.03 5.88 4.52 5.62 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:48:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:49:01 ens3 0.18 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:49:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:50:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] 21:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] Average: docker0 15.41 19.90 1.25 165.13 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] Average: ens3 56.15 41.51 890.54 12.70 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] Average: lo 0.50 0.50 0.05 0.05 0.00 0.00 0.00 0.00 [2023-02-17T21:50:53.014Z] [2023-02-17T21:50:53.014Z]