Pull request #145 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 51d17d69713a44d13c4e403642911d9850989911 rather than 60be3eb68cb91baa591578c6392931cc2c8ffad5 Obtained Jenkinsfile from 51d17d69713a44d13c4e403642911d9850989911 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-ssh4604936723481780535.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5521718832761274707.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-145/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-145/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11119431060027541621.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-145/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9025962325188951830.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12483140972925871592.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-145/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-145/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7187035613294083173.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 ‘prd-ubuntu20.04-docker-8c-8g-23467’ Running on prd-ubuntu20.04-docker-8c-8g-23469 in /w/workspace/undry_device-onvif-camera_PR-145 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-145 # 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 Merging remotes/origin/main commit 51d17d69713a44d13c4e403642911d9850989911 into PR head commit 60be3eb68cb91baa591578c6392931cc2c8ffad5 > 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/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60be3eb68cb91baa591578c6392931cc2c8ffad5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 265960408281c9f88fe69f851785741b90ff9245 Checking out Revision 265960408281c9f88fe69f851785741b90ff9245 (PR-145) > git merge 51d17d69713a44d13c4e403642911d9850989911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 265960408281c9f88fe69f851785741b90ff9245 # timeout=10 Commit message: "Merge commit '51d17d69713a44d13c4e403642911d9850989911' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-24T23:24:08.570Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-24T23:24:08.763Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-24T23:24:08.859Z] ========================================================= [2022-08-24T23:24:08.859Z] EdgeX Global Pipelines Version Info [2022-08-24T23:24:08.859Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:24:09.665Z] ------------------- [2022-08-24T23:24:09.665Z] stable info: [2022-08-24T23:24:09.665Z] ------------------- [2022-08-24T23:24:09.665Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-24T23:24:09.665Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-24T23:24:09.665Z] Message: update stable to v1.0.239 [2022-08-24T23:24:10.239Z] ------------------- [2022-08-24T23:24:10.239Z] experimental info: [2022-08-24T23:24:10.239Z] ------------------- [2022-08-24T23:24:10.239Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-24T23:24:10.239Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-24T23:24:10.239Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-24T23:24:10.623Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-24T23:24:10.667Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-24T23:24:10.708Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-24T23:24:10.746Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-24T23:24:10.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-24T23:24:10.832Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-24T23:24:10.869Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-24T23:24:10.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-24T23:24:10.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-24T23:24:10.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-24T23:24:11.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-24T23:24:11.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-24T23:24:11.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-24T23:24:11.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-24T23:24:11.170Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-24T23:24:11.206Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-24T23:24:11.246Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-24T23:24:11.289Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-24T23:24:11.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-24T23:24:11.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-24T23:24:11.415Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-24T23:24:11.451Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-24T23:24:11.489Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-24T23:24:11.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-24T23:24:11.574Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-24T23:24:11.609Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-24T23:24:11.649Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-24T23:24:11.683Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-145 [Pipeline] echo [2022-08-24T23:24:11.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-145 [Pipeline] echo [2022-08-24T23:24:11.771Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-145 [Pipeline] echo [2022-08-24T23:24:11.807Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 265960408281c9f88fe69f851785741b90ff9245 [Pipeline] echo [2022-08-24T23:24:11.846Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2659604 [Pipeline] echo [2022-08-24T23:24:11.888Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-24T23:24:11.999Z] provisioning config files... [2022-08-24T23:24:12.015Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-145@tmp/config7161688060243432249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:24:12.367Z] ---> docker-login.sh [2022-08-24T23:24:12.367Z] nexus3.edgexfoundry.org:10001 [2022-08-24T23:24:12.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:12.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:12.627Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:12.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:12.627Z] [2022-08-24T23:24:12.627Z] Login Succeeded [2022-08-24T23:24:12.627Z] nexus3.edgexfoundry.org:10002 [2022-08-24T23:24:12.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:12.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:12.889Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:12.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:12.889Z] [2022-08-24T23:24:12.889Z] Login Succeeded [2022-08-24T23:24:12.889Z] nexus3.edgexfoundry.org:10003 [2022-08-24T23:24:12.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:13.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:13.153Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:13.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:13.153Z] [2022-08-24T23:24:13.153Z] Login Succeeded [2022-08-24T23:24:13.153Z] nexus3.edgexfoundry.org:10004 [2022-08-24T23:24:13.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:13.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:13.153Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:13.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:13.153Z] [2022-08-24T23:24:13.153Z] Login Succeeded [2022-08-24T23:24:13.153Z] docker.io [2022-08-24T23:24:13.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:13.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:13.725Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:13.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:13.725Z] [2022-08-24T23:24:13.725Z] Login Succeeded [2022-08-24T23:24:13.725Z] ---> docker-login.sh ends [Pipeline] } [2022-08-24T23:24:13.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-24T23:24:14.409Z] + git rev-list -1 --merges 265960408281c9f88fe69f851785741b90ff9245~1..265960408281c9f88fe69f851785741b90ff9245 [Pipeline] echo [2022-08-24T23:24:14.452Z] -----------> git rev-list -1 --merges 265960408281c9f88fe69f851785741b90ff9245~1..265960408281c9f88fe69f851785741b90ff9245 265960408281c9f88fe69f851785741b90ff9245 [2022-08-24T23:24:14.452Z] 265960408281c9f88fe69f851785741b90ff9245 [false] [Pipeline] sh [2022-08-24T23:24:14.763Z] + git log --format=format:%s -1 265960408281c9f88fe69f851785741b90ff9245 [Pipeline] echo [2022-08-24T23:24:14.799Z] ========================================================= [2022-08-24T23:24:14.799Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-24T23:24:14.799Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-24T23:24:15.241Z] + git log --format=format:%s -1 265960408281c9f88fe69f851785741b90ff9245 [Pipeline] echo [2022-08-24T23:24:15.276Z] [semverPrep] GIT_COMMIT: 265960408281c9f88fe69f851785741b90ff9245, Commit Message: Merge commit '51d17d69713a44d13c4e403642911d9850989911' into HEAD [Pipeline] echo [2022-08-24T23:24:15.307Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-24T23:24:15.694Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-24T23:24:15.694Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-24T23:24:15.694Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-24T23:24:15.694Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-24T23:24:15.694Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-24T23:24:15.694Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-24T23:24:15.694Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:24:16.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-24T23:24:16.122Z] [2022-08-24T23:24:16.122Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:24:16.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-24T23:24:16.498Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-24T23:24:16.498Z] b85a868b505f: Pulling fs layer [2022-08-24T23:24:16.498Z] e2be974225ed: Pulling fs layer [2022-08-24T23:24:16.498Z] 339a4e72a1f5: Pulling fs layer [2022-08-24T23:24:16.498Z] 988bab9f4d93: Pulling fs layer [2022-08-24T23:24:16.498Z] 1469e6f7b9e6: Pulling fs layer [2022-08-24T23:24:16.498Z] eaf3925da568: Pulling fs layer [2022-08-24T23:24:16.498Z] bab4dde63d76: Pulling fs layer [2022-08-24T23:24:16.498Z] bde34c3a00c8: Pulling fs layer [2022-08-24T23:24:16.498Z] b352a97aabf1: Pulling fs layer [2022-08-24T23:24:16.498Z] 4872d77fe225: Pulling fs layer [2022-08-24T23:24:16.498Z] 5851b861e8e6: Pulling fs layer [2022-08-24T23:24:16.498Z] bab4dde63d76: Waiting [2022-08-24T23:24:16.498Z] bde34c3a00c8: Waiting [2022-08-24T23:24:16.498Z] b352a97aabf1: Waiting [2022-08-24T23:24:16.498Z] 4872d77fe225: Waiting [2022-08-24T23:24:16.498Z] 5851b861e8e6: Waiting [2022-08-24T23:24:16.498Z] 988bab9f4d93: Waiting [2022-08-24T23:24:16.498Z] eaf3925da568: Waiting [2022-08-24T23:24:16.498Z] 1469e6f7b9e6: Waiting [2022-08-24T23:24:16.498Z] e2be974225ed: Download complete [2022-08-24T23:24:16.498Z] 988bab9f4d93: Verifying Checksum [2022-08-24T23:24:16.498Z] 988bab9f4d93: Download complete [2022-08-24T23:24:16.760Z] 339a4e72a1f5: Verifying Checksum [2022-08-24T23:24:16.760Z] 339a4e72a1f5: Download complete [2022-08-24T23:24:16.760Z] 1469e6f7b9e6: Verifying Checksum [2022-08-24T23:24:16.760Z] 1469e6f7b9e6: Download complete [2022-08-24T23:24:16.760Z] eaf3925da568: Download complete [2022-08-24T23:24:16.760Z] bde34c3a00c8: Download complete [2022-08-24T23:24:16.760Z] b352a97aabf1: Verifying Checksum [2022-08-24T23:24:16.760Z] b352a97aabf1: Download complete [2022-08-24T23:24:16.760Z] 4872d77fe225: Verifying Checksum [2022-08-24T23:24:16.760Z] 4872d77fe225: Download complete [2022-08-24T23:24:16.760Z] 5851b861e8e6: Download complete [2022-08-24T23:24:16.760Z] b85a868b505f: Verifying Checksum [2022-08-24T23:24:16.760Z] b85a868b505f: Download complete [2022-08-24T23:24:17.020Z] bab4dde63d76: Verifying Checksum [2022-08-24T23:24:17.020Z] bab4dde63d76: Download complete [2022-08-24T23:24:18.401Z] b85a868b505f: Pull complete [2022-08-24T23:24:18.401Z] e2be974225ed: Pull complete [2022-08-24T23:24:18.971Z] 339a4e72a1f5: Pull complete [2022-08-24T23:24:18.971Z] 988bab9f4d93: Pull complete [2022-08-24T23:24:19.245Z] 1469e6f7b9e6: Pull complete [2022-08-24T23:24:19.245Z] eaf3925da568: Pull complete [2022-08-24T23:24:21.798Z] bab4dde63d76: Pull complete [2022-08-24T23:24:21.798Z] bde34c3a00c8: Pull complete [2022-08-24T23:24:21.798Z] b352a97aabf1: Pull complete [2022-08-24T23:24:21.798Z] 4872d77fe225: Pull complete [2022-08-24T23:24:21.798Z] 5851b861e8e6: Pull complete [2022-08-24T23:24:21.798Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-24T23:24:21.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-24T23:24:21.799Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-24T23:24:22.027Z] prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container [2022-08-24T23:24:22.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-24T23:24:23.937Z] $ docker top 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b -eo pid,comm [2022-08-24T23:24:24.011Z] 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). [2022-08-24T23:24:24.011Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-24T23:24:24.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-24T23:24:24.136Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-24T23:24:24.274Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-24T23:24:24.278Z] $ docker exec 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b ssh-agent [2022-08-24T23:24:24.411Z] SSH_AUTH_SOCK=/tmp/ssh-OFqWHgPB289t/agent.32 [2022-08-24T23:24:24.411Z] SSH_AGENT_PID=38 [2022-08-24T23:24:24.418Z] Running ssh-add (command line suppressed) [2022-08-24T23:24:24.545Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-145@tmp/private_key_8323513067281982239.key (/w/workspace/undry_device-onvif-camera_PR-145@tmp/private_key_8323513067281982239.key) [2022-08-24T23:24:24.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-24T23:24:24.900Z] + git tag --points-at HEAD [Pipeline] } [2022-08-24T23:24:24.928Z] $ docker exec --env ******** --env ******** 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b ssh-agent -k [2022-08-24T23:24:25.043Z] unset SSH_AUTH_SOCK; [2022-08-24T23:24:25.044Z] unset SSH_AGENT_PID; [2022-08-24T23:24:25.044Z] echo Agent pid 38 killed; [2022-08-24T23:24:25.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-24T23:24:25.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-24T23:24:25.148Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-24T23:24:25.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-24T23:24:25.282Z] $ docker exec 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b ssh-agent [2022-08-24T23:24:25.400Z] SSH_AUTH_SOCK=/tmp/ssh-B6hdJFbfWcQv/agent.71 [2022-08-24T23:24:25.400Z] SSH_AGENT_PID=77 [2022-08-24T23:24:25.406Z] Running ssh-add (command line suppressed) [2022-08-24T23:24:25.523Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-145@tmp/private_key_7917043411435082386.key (/w/workspace/undry_device-onvif-camera_PR-145@tmp/private_key_7917043411435082386.key) [2022-08-24T23:24:25.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-24T23:24:25.868Z] + git semver init [2022-08-24T23:24:26.129Z] 2022-08-24 23:24:26,074 [run_init] DEBUG init version:0.0.0 force:False [2022-08-24T23:24:26.129Z] 2022-08-24 23:24:26,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-145/.semver [2022-08-24T23:24:26.129Z] 2022-08-24 23:24:26,075 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-145/.semver [2022-08-24T23:24:26.129Z] 2022-08-24 23:24:26,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-145/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-145, universal_newlines=False, shell=None, istream=None) [2022-08-24T23:24:27.072Z] 2022-08-24 23:24:26,866 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-145/.git/info/exclude [2022-08-24T23:24:27.072Z] 2022-08-24 23:24:26,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-145/.semver/PR-145 with force:False [2022-08-24T23:24:27.072Z] 2022-08-24 23:24:26,867 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-145/.semver/PR-145 [2022-08-24T23:24:27.072Z] 2022-08-24 23:24:26,872 [execute] INFO git cat-file --batch-check [2022-08-24T23:24:27.072Z] 2022-08-24 23:24:26,873 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-145/.semver, universal_newlines=False, shell=None, istream=) [2022-08-24T23:24:27.072Z] 2022-08-24 23:24:26,879 [execute] INFO git cat-file --batch [2022-08-24T23:24:27.072Z] 2022-08-24 23:24:26,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-145/.semver, universal_newlines=False, shell=None, istream=) [2022-08-24T23:24:27.072Z] 2022-08-24 23:24:26,885 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-145/.semver/PR-145 [2022-08-24T23:24:27.072Z] 0.0.0 [Pipeline] } [2022-08-24T23:24:27.100Z] $ docker exec --env ******** --env ******** 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b ssh-agent -k [2022-08-24T23:24:27.209Z] unset SSH_AUTH_SOCK; [2022-08-24T23:24:27.210Z] unset SSH_AGENT_PID; [2022-08-24T23:24:27.210Z] echo Agent pid 77 killed; [2022-08-24T23:24:27.221Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-24T23:24:27.653Z] + git semver [Pipeline] } [2022-08-24T23:24:28.250Z] $ docker stop --time=1 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b [2022-08-24T23:24:29.526Z] $ docker rm -f 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-24T23:24:29.939Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-24T23:24:30.260Z] Stashed 1 file(s) [Pipeline] echo [2022-08-24T23:24:30.277Z] [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 [2022-08-24T23:24:30.891Z] provisioning config files... [2022-08-24T23:24:30.902Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-145@tmp/config4277082261110811928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:24:31.251Z] ---> docker-login.sh [2022-08-24T23:24:31.251Z] nexus3.edgexfoundry.org:10001 [2022-08-24T23:24:31.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:31.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:31.251Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:31.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:31.251Z] [2022-08-24T23:24:31.251Z] Login Succeeded [2022-08-24T23:24:31.251Z] nexus3.edgexfoundry.org:10002 [2022-08-24T23:24:31.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:31.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:31.512Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:31.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:31.512Z] [2022-08-24T23:24:31.512Z] Login Succeeded [2022-08-24T23:24:31.512Z] nexus3.edgexfoundry.org:10003 [2022-08-24T23:24:31.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:31.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:31.512Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:31.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:31.512Z] [2022-08-24T23:24:31.512Z] Login Succeeded [2022-08-24T23:24:31.512Z] nexus3.edgexfoundry.org:10004 [2022-08-24T23:24:31.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:31.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:31.774Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:31.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:31.774Z] [2022-08-24T23:24:31.774Z] Login Succeeded [2022-08-24T23:24:31.774Z] docker.io [2022-08-24T23:24:31.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:24:32.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:24:32.035Z] Configure a credential helper to remove this warning. See [2022-08-24T23:24:32.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:24:32.036Z] [2022-08-24T23:24:32.036Z] Login Succeeded [2022-08-24T23:24:32.036Z] ---> docker-login.sh ends [Pipeline] } [2022-08-24T23:24:32.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-24T23:24:32.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-24T23:24:32.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-24T23:24:32.341Z] ========================================================= [2022-08-24T23:24:32.341Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-24T23:24:32.341Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:24:32.812Z] + 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 . [2022-08-24T23:24:32.812Z] Sending build context to Docker daemon 20.59MB [2022-08-24T23:24:32.812Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-24T23:24:32.812Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-24T23:24:33.073Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-24T23:24:33.073Z] 2408cc74d12b: Pulling fs layer [2022-08-24T23:24:33.073Z] ea60b727a1ce: Pulling fs layer [2022-08-24T23:24:33.073Z] 30c4a7721957: Pulling fs layer [2022-08-24T23:24:33.073Z] 370296b7ddb6: Pulling fs layer [2022-08-24T23:24:33.073Z] 7c6cee850709: Pulling fs layer [2022-08-24T23:24:33.073Z] 39a5fcdaea64: Pulling fs layer [2022-08-24T23:24:33.073Z] d94ebbe4e438: Pulling fs layer [2022-08-24T23:24:33.073Z] bcfd1f05c69d: Pulling fs layer [2022-08-24T23:24:33.073Z] 59ccb84bbe0f: Pulling fs layer [2022-08-24T23:24:33.073Z] 39a5fcdaea64: Waiting [2022-08-24T23:24:33.073Z] 370296b7ddb6: Waiting [2022-08-24T23:24:33.073Z] d94ebbe4e438: Waiting [2022-08-24T23:24:33.073Z] 7c6cee850709: Waiting [2022-08-24T23:24:33.073Z] 59ccb84bbe0f: Waiting [2022-08-24T23:24:33.073Z] 30c4a7721957: Download complete [2022-08-24T23:24:33.073Z] ea60b727a1ce: Verifying Checksum [2022-08-24T23:24:33.073Z] ea60b727a1ce: Download complete [2022-08-24T23:24:33.073Z] 7c6cee850709: Verifying Checksum [2022-08-24T23:24:33.073Z] 7c6cee850709: Download complete [2022-08-24T23:24:33.073Z] 39a5fcdaea64: Verifying Checksum [2022-08-24T23:24:33.073Z] 39a5fcdaea64: Download complete [2022-08-24T23:24:33.073Z] 2408cc74d12b: Download complete [2022-08-24T23:24:33.073Z] d94ebbe4e438: Verifying Checksum [2022-08-24T23:24:33.073Z] d94ebbe4e438: Download complete [2022-08-24T23:24:33.073Z] 2408cc74d12b: Pull complete [2022-08-24T23:24:33.337Z] ea60b727a1ce: Pull complete [2022-08-24T23:24:33.337Z] 30c4a7721957: Pull complete [2022-08-24T23:24:33.337Z] 59ccb84bbe0f: Download complete [2022-08-24T23:24:33.597Z] bcfd1f05c69d: Verifying Checksum [2022-08-24T23:24:33.597Z] bcfd1f05c69d: Download complete [2022-08-24T23:24:33.856Z] 370296b7ddb6: Verifying Checksum [2022-08-24T23:24:33.857Z] 370296b7ddb6: Download complete [2022-08-24T23:24:38.057Z] 370296b7ddb6: Pull complete [2022-08-24T23:24:38.057Z] 7c6cee850709: Pull complete [2022-08-24T23:24:38.057Z] 39a5fcdaea64: Pull complete [2022-08-24T23:24:38.057Z] d94ebbe4e438: Pull complete [2022-08-24T23:24:40.605Z] bcfd1f05c69d: Pull complete [2022-08-24T23:24:41.180Z] 59ccb84bbe0f: Pull complete [2022-08-24T23:24:41.180Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-24T23:24:41.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-24T23:24:41.180Z] ---> a4fb48ad2a94 [2022-08-24T23:24:41.180Z] Step 3/13 : ARG MAKE="make build" [2022-08-24T23:24:43.726Z] ---> Running in 573f88f047a0 [2022-08-24T23:24:43.985Z] Removing intermediate container 573f88f047a0 [2022-08-24T23:24:43.985Z] ---> 383415a46ab3 [2022-08-24T23:24:43.985Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-24T23:24:43.985Z] ---> Running in 5e6a2737f191 [2022-08-24T23:24:43.985Z] Removing intermediate container 5e6a2737f191 [2022-08-24T23:24:43.985Z] ---> 746a1d81c2e4 [2022-08-24T23:24:43.985Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-24T23:24:43.985Z] ---> Running in 7514c07259a7 [2022-08-24T23:24:43.985Z] Removing intermediate container 7514c07259a7 [2022-08-24T23:24:43.985Z] ---> 5254c9221306 [2022-08-24T23:24:43.985Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-24T23:24:43.985Z] ---> Running in 019124438a62 [2022-08-24T23:24:44.245Z] Removing intermediate container 019124438a62 [2022-08-24T23:24:44.245Z] ---> 896255c451d4 [2022-08-24T23:24:44.245Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-24T23:24:44.245Z] ---> Running in 7739915e4983 [2022-08-24T23:24:44.818Z] Removing intermediate container 7739915e4983 [2022-08-24T23:24:44.818Z] ---> 542d56307778 [2022-08-24T23:24:44.818Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-24T23:24:44.818Z] ---> Running in 92aa455169d9 [2022-08-24T23:24:45.080Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-24T23:24:45.705Z] Still waiting to schedule task [2022-08-24T23:24:45.705Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-23468’ is offline [2022-08-24T23:24:46.024Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-24T23:24:46.286Z] OK: 211 MiB in 51 packages [2022-08-24T23:24:46.546Z] Removing intermediate container 92aa455169d9 [2022-08-24T23:24:46.546Z] ---> dc23eee57f9d [2022-08-24T23:24:46.546Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-24T23:24:46.546Z] ---> Running in edd4f316809e [2022-08-24T23:24:46.546Z] Removing intermediate container edd4f316809e [2022-08-24T23:24:46.546Z] ---> d696648ef67f [2022-08-24T23:24:46.546Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-24T23:24:46.808Z] ---> 031e2f39255f [2022-08-24T23:24:46.808Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-24T23:24:46.808Z] ---> Running in 73cb008dd73d [2022-08-24T23:25:08.773Z] Removing intermediate container 73cb008dd73d [2022-08-24T23:25:08.773Z] ---> ddda29bc4206 [2022-08-24T23:25:08.773Z] Step 12/13 : COPY . . [2022-08-24T23:25:08.773Z] ---> bc79eb7101b5 [2022-08-24T23:25:08.773Z] Step 13/13 : RUN ${MAKE} [2022-08-24T23:25:09.035Z] ---> Running in e1707f43d8c1 [2022-08-24T23:25:09.296Z] noop [2022-08-24T23:25:09.558Z] Removing intermediate container e1707f43d8c1 [2022-08-24T23:25:09.558Z] ---> c0e8955aacc8 [2022-08-24T23:25:09.558Z] Successfully built c0e8955aacc8 [2022-08-24T23:25:09.558Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:25:10.008Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-24T23:25:10.008Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-24T23:25:10.176Z] prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container [2022-08-24T23:25:10.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-24T23:25:10.582Z] $ docker top ef61a4601b823b84b07f9c79bc591734b9ecd38d0977a6ad5b6716476db15e8c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-24T23:25:10.988Z] + go version [2022-08-24T23:25:10.988Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-24T23:25:11.021Z] $ docker stop --time=1 ef61a4601b823b84b07f9c79bc591734b9ecd38d0977a6ad5b6716476db15e8c [2022-08-24T23:25:12.281Z] $ docker rm -f ef61a4601b823b84b07f9c79bc591734b9ecd38d0977a6ad5b6716476db15e8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:25:13.062Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-24T23:25:13.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-24T23:25:13.268Z] prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container [2022-08-24T23:25:13.311Z] $ 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-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-24T23:25:13.638Z] $ docker top 5f9ad41d9d14f921fa05e151aa27ee59630ddf1c16958d15d501f81c1cae5df2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-24T23:25:14.037Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-145 [Pipeline] fileExists [Pipeline] sh [2022-08-24T23:25:14.398Z] + make test [2022-08-24T23:25:14.398Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-24T23:25:14.658Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-24T23:25:26.881Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-24T23:25:26.881Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.027s coverage: 10.6% of statements [2022-08-24T23:25:26.881Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-24T23:25:30.181Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.885s coverage: 13.8% of statements [2022-08-24T23:25:38.304Z] 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." [2022-08-24T23:25:38.304Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-24T23:25:41.605Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-24T23:25:41.605Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-24T23:25:41.605Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-24T23:25:41.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-24T23:25:41.677Z] $ docker stop --time=1 5f9ad41d9d14f921fa05e151aa27ee59630ddf1c16958d15d501f81c1cae5df2 [2022-08-24T23:25:43.791Z] $ docker rm -f 5f9ad41d9d14f921fa05e151aa27ee59630ddf1c16958d15d501f81c1cae5df2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-24T23:25:44.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-24T23:25:44.431Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-24T23:25:45.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-24T23:25:45.430Z] + ls -al . [2022-08-24T23:25:45.430Z] total 232 [2022-08-24T23:25:45.430Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 24 23:25 . [2022-08-24T23:25:45.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:24 .. [2022-08-24T23:25:45.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 23:25 .git [2022-08-24T23:25:45.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 23:24 .github [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 24 23:24 .gitignore [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 24 23:24 .golangci.yml [2022-08-24T23:25:45.430Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 24 23:24 .semver [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 24 23:24 Attribution.txt [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 24 23:24 CHANGELOG.md [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 24 23:24 Dockerfile [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 24 23:24 GOVERNANCE.md [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 24 23:24 Jenkinsfile [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 24 23:24 LICENSE [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 24 23:24 Makefile [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 24 23:24 OWNERS.md [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 24 23:24 README.md [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 23:24 VERSION [2022-08-24T23:25:45.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 23:24 bin [2022-08-24T23:25:45.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 23:24 cmd [2022-08-24T23:25:45.430Z] -rw-r--r-- 1 jenkins jenkins 76854 Aug 24 23:25 coverage.out [2022-08-24T23:25:45.430Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 24 23:24 doc [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 24 23:24 go.mod [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 24 23:24 go.sum [2022-08-24T23:25:45.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:24 internal [2022-08-24T23:25:45.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:24 snap [2022-08-24T23:25:45.430Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 24 23:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:25:45.823Z] + 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=265960408281c9f88fe69f851785741b90ff9245 --label arch=amd64 --label version=0.0.0 . [2022-08-24T23:25:45.823Z] Sending build context to Docker daemon 20.67MB [2022-08-24T23:25:45.823Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-24T23:25:45.823Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-24T23:25:45.823Z] ---> c0e8955aacc8 [2022-08-24T23:25:45.823Z] Step 3/26 : ARG MAKE="make build" [2022-08-24T23:25:46.083Z] ---> Running in 96c9e9081ac2 [2022-08-24T23:25:46.344Z] Removing intermediate container 96c9e9081ac2 [2022-08-24T23:25:46.344Z] ---> 2697a1a7d8d7 [2022-08-24T23:25:46.344Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-24T23:25:46.344Z] ---> Running in 2c5452ba1ea2 [2022-08-24T23:25:46.344Z] Removing intermediate container 2c5452ba1ea2 [2022-08-24T23:25:46.344Z] ---> bd0b39746bc3 [2022-08-24T23:25:46.344Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-24T23:25:46.344Z] ---> Running in 075bc1a52221 [2022-08-24T23:25:46.609Z] Removing intermediate container 075bc1a52221 [2022-08-24T23:25:46.609Z] ---> 7ac842c0dd03 [2022-08-24T23:25:46.609Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-24T23:25:46.609Z] ---> Running in 097024732e92 [2022-08-24T23:25:46.609Z] Removing intermediate container 097024732e92 [2022-08-24T23:25:46.609Z] ---> 2b46cfb189ac [2022-08-24T23:25:46.609Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-24T23:25:46.609Z] ---> Running in 1fade891fb2c [2022-08-24T23:25:47.181Z] Removing intermediate container 1fade891fb2c [2022-08-24T23:25:47.181Z] ---> 6a889c4a0742 [2022-08-24T23:25:47.181Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-24T23:25:47.181Z] ---> Running in 8551cdf639d3 [2022-08-24T23:25:47.442Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-24T23:25:48.388Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-24T23:25:48.651Z] OK: 211 MiB in 51 packages [2022-08-24T23:25:48.913Z] Removing intermediate container 8551cdf639d3 [2022-08-24T23:25:48.913Z] ---> 43f164bb4f87 [2022-08-24T23:25:48.913Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-24T23:25:48.913Z] ---> Running in e3aef9a43e57 [2022-08-24T23:25:49.175Z] Removing intermediate container e3aef9a43e57 [2022-08-24T23:25:49.175Z] ---> 1554c4ea7a1e [2022-08-24T23:25:49.175Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-24T23:25:49.175Z] ---> 0efa50ec168e [2022-08-24T23:25:49.175Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-24T23:25:49.175Z] ---> Running in bbaf96746e17 [2022-08-24T23:25:50.117Z] Removing intermediate container bbaf96746e17 [2022-08-24T23:25:50.117Z] ---> ffe1e8df49a3 [2022-08-24T23:25:50.117Z] Step 12/26 : COPY . . [2022-08-24T23:25:50.689Z] ---> 09f4b48318b8 [2022-08-24T23:25:50.689Z] Step 13/26 : RUN ${MAKE} [2022-08-24T23:25:50.689Z] ---> Running in 6f58e000726a [2022-08-24T23:25:50.952Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-24T23:26:13.026Z] Removing intermediate container 6f58e000726a [2022-08-24T23:26:13.026Z] ---> 666b8031a37b [2022-08-24T23:26:13.026Z] Step 14/26 : FROM alpine:3.16 [2022-08-24T23:26:13.289Z] 3.16: Pulling from library/alpine [2022-08-24T23:26:13.553Z] 213ec9aee27d: Pulling fs layer [2022-08-24T23:26:13.840Z] 213ec9aee27d: Verifying Checksum [2022-08-24T23:26:13.840Z] 213ec9aee27d: Download complete [2022-08-24T23:26:13.840Z] 213ec9aee27d: Pull complete [2022-08-24T23:26:13.840Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-24T23:26:13.840Z] Status: Downloaded newer image for alpine:3.16 [2022-08-24T23:26:13.840Z] ---> 9c6f07244728 [2022-08-24T23:26:13.840Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-24T23:26:14.102Z] ---> Running in e9638993c1dc [2022-08-24T23:26:14.102Z] Removing intermediate container e9638993c1dc [2022-08-24T23:26:14.102Z] ---> b39e60b2409a [2022-08-24T23:26:14.102Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-24T23:26:14.102Z] ---> Running in a3f126663dc9 [2022-08-24T23:26:14.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-24T23:26:15.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-24T23:26:15.561Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-24T23:26:15.561Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-24T23:26:15.561Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-24T23:26:15.561Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-24T23:26:15.561Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-24T23:26:15.561Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-24T23:26:15.561Z] Executing busybox-1.35.0-r17.trigger [2022-08-24T23:26:15.561Z] OK: 8 MiB in 20 packages [2022-08-24T23:26:15.820Z] Removing intermediate container a3f126663dc9 [2022-08-24T23:26:15.820Z] ---> 83ab3b374669 [2022-08-24T23:26:15.820Z] Step 17/26 : WORKDIR / [2022-08-24T23:26:15.820Z] ---> Running in fe2249d492cb [2022-08-24T23:26:16.080Z] Removing intermediate container fe2249d492cb [2022-08-24T23:26:16.080Z] ---> 445ea3377a0f [2022-08-24T23:26:16.080Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-24T23:26:16.650Z] ---> e82155309b5c [2022-08-24T23:26:16.650Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-24T23:26:16.912Z] ---> 1f289c893722 [2022-08-24T23:26:16.912Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-24T23:26:16.912Z] ---> cdaae2d7d695 [2022-08-24T23:26:16.912Z] Step 21/26 : EXPOSE 59984 [2022-08-24T23:26:16.912Z] ---> Running in 66684477cce5 [2022-08-24T23:26:17.173Z] Removing intermediate container 66684477cce5 [2022-08-24T23:26:17.173Z] ---> e76ddaf1db7b [2022-08-24T23:26:17.173Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-24T23:26:17.173Z] ---> Running in b5d2c5e65ad9 [2022-08-24T23:26:17.173Z] Removing intermediate container b5d2c5e65ad9 [2022-08-24T23:26:17.173Z] ---> e711c676d54e [2022-08-24T23:26:17.173Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-24T23:26:17.173Z] ---> Running in e6a56b357ff0 [2022-08-24T23:26:17.173Z] Removing intermediate container e6a56b357ff0 [2022-08-24T23:26:17.173Z] ---> 6f173335ecea [2022-08-24T23:26:17.173Z] Step 24/26 : LABEL arch=amd64 [2022-08-24T23:26:17.434Z] ---> Running in dae3498f3cc0 [2022-08-24T23:26:17.434Z] Removing intermediate container dae3498f3cc0 [2022-08-24T23:26:17.434Z] ---> 9a5f35bbff79 [2022-08-24T23:26:17.434Z] Step 25/26 : LABEL git_sha=265960408281c9f88fe69f851785741b90ff9245 [2022-08-24T23:26:17.434Z] ---> Running in 8c6a2ec50a94 [2022-08-24T23:26:17.434Z] Removing intermediate container 8c6a2ec50a94 [2022-08-24T23:26:17.434Z] ---> 72529b3deb17 [2022-08-24T23:26:17.434Z] Step 26/26 : LABEL version=0.0.0 [2022-08-24T23:26:17.434Z] ---> Running in 7cda4fb31f32 [2022-08-24T23:26:17.695Z] Removing intermediate container 7cda4fb31f32 [2022-08-24T23:26:17.695Z] ---> f5f41ba8551f [2022-08-24T23:26:17.695Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-24T23:26:17.695Z] Successfully built f5f41ba8551f [2022-08-24T23:26:17.695Z] 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 [2022-08-24T23:26:18.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-24T23:26:18.593Z] [2022-08-24T23:26:18.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:26:18.981Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-24T23:26:18.982Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-24T23:26:18.982Z] 5eb5b503b376: Pulling fs layer [2022-08-24T23:26:18.982Z] 5c69ac0246d0: Pulling fs layer [2022-08-24T23:26:18.982Z] ec43610c2a17: Pulling fs layer [2022-08-24T23:26:18.982Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-24T23:26:18.982Z] 33b1e0a273af: Pulling fs layer [2022-08-24T23:26:18.982Z] 3a2ae6a8a46f: Waiting [2022-08-24T23:26:18.982Z] 33b1e0a273af: Waiting [2022-08-24T23:26:18.982Z] 5d3b04190fa2: Pulling fs layer [2022-08-24T23:26:18.982Z] 2f39f015ded8: Pulling fs layer [2022-08-24T23:26:18.982Z] 5d3b04190fa2: Waiting [2022-08-24T23:26:18.982Z] 2f39f015ded8: Waiting [2022-08-24T23:26:18.982Z] 5c69ac0246d0: Download complete [2022-08-24T23:26:18.982Z] 3a2ae6a8a46f: Download complete [2022-08-24T23:26:18.982Z] 33b1e0a273af: Verifying Checksum [2022-08-24T23:26:18.982Z] 33b1e0a273af: Download complete [2022-08-24T23:26:18.982Z] ec43610c2a17: Verifying Checksum [2022-08-24T23:26:18.982Z] ec43610c2a17: Download complete [2022-08-24T23:26:19.242Z] 5d3b04190fa2: Verifying Checksum [2022-08-24T23:26:19.242Z] 5d3b04190fa2: Download complete [2022-08-24T23:26:19.242Z] 5eb5b503b376: Download complete [2022-08-24T23:26:19.812Z] 2f39f015ded8: Download complete [2022-08-24T23:26:20.751Z] 5eb5b503b376: Pull complete [2022-08-24T23:26:20.751Z] 5c69ac0246d0: Pull complete [2022-08-24T23:26:21.329Z] ec43610c2a17: Pull complete [2022-08-24T23:26:21.329Z] 3a2ae6a8a46f: Pull complete [2022-08-24T23:26:21.377Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23471 in /w/workspace/undry_device-onvif-camera_PR-145 [Pipeline] { [Pipeline] ws [2022-08-24T23:26:21.419Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-24T23:26:21.512Z] Selected Git installation does not exist. Using Default [2022-08-24T23:26:21.512Z] The recommended git tool is: NONE [2022-08-24T23:26:21.590Z] 33b1e0a273af: Pull complete [2022-08-24T23:26:21.590Z] 5d3b04190fa2: Pull complete [2022-08-24T23:26:26.873Z] 2f39f015ded8: Pull complete [2022-08-24T23:26:26.873Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-24T23:26:26.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-24T23:26:26.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-24T23:26:27.181Z] prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container [2022-08-24T23:26:27.273Z] $ 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-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-24T23:26:27.677Z] using credential edgex-jenkins-ssh [2022-08-24T23:26:27.698Z] Cloning the remote Git repository [2022-08-24T23:26:27.755Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-24T23:26:27.830Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-24T23:26:27.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-24T23:26:27.911Z] > git --version # timeout=10 [2022-08-24T23:26:27.929Z] > git --version # 'git version 2.25.1' [2022-08-24T23:26:27.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-24T23:26:28.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-24T23:26:29.131Z] $ docker top 2f60fd1dde70587e0dcaa7d85c4b83edf5cdb84a64aed50cd4c50529897a3c4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:26:29.145Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-24T23:26:29.219Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-24T23:26:29.261Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-24T23:26:29.327Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-24T23:26:29.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-24T23:26:29.353Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-24T23:26:29.598Z] ---> job-cost.sh [2022-08-24T23:26:29.598Z] lf-activate-venv: SKIPPING [2022-08-24T23:26:29.598Z] INFO: No Stack... [2022-08-24T23:26:29.915Z] Merging remotes/origin/main commit 51d17d69713a44d13c4e403642911d9850989911 into PR head commit 60be3eb68cb91baa591578c6392931cc2c8ffad5 [2022-08-24T23:26:30.170Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-24T23:26:30.431Z] INFO: Archiving Costs [Pipeline] sh [2022-08-24T23:26:30.522Z] Merge succeeded, producing 8302ca870d2726cc021977c8a3ce3fefedb4b7a7 [2022-08-24T23:26:30.523Z] Checking out Revision 8302ca870d2726cc021977c8a3ce3fefedb4b7a7 (PR-145) [2022-08-24T23:26:30.747Z] + cat /w/workspace/undry_device-onvif-camera_PR-145/archives/cost.csv [2022-08-24T23:26:30.747Z] + cut -d, -f6 [2022-08-24T23:26:29.933Z] > git config core.sparsecheckout # timeout=10 [2022-08-24T23:26:29.963Z] > git checkout -f 60be3eb68cb91baa591578c6392931cc2c8ffad5 # timeout=10 [2022-08-24T23:26:30.168Z] > git remote # timeout=10 [2022-08-24T23:26:30.185Z] > git config --get remote.origin.url # timeout=10 [2022-08-24T23:26:30.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-24T23:26:30.215Z] > git merge 51d17d69713a44d13c4e403642911d9850989911 # timeout=10 [2022-08-24T23:26:30.507Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-24T23:26:30.531Z] > git config core.sparsecheckout # timeout=10 [2022-08-24T23:26:30.544Z] > git checkout -f 8302ca870d2726cc021977c8a3ce3fefedb4b7a7 # timeout=10 [Pipeline] lock [2022-08-24T23:26:30.790Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [2022-08-24T23:26:30.795Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] did not exist. Created. [2022-08-24T23:26:30.795Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-24T23:26:31.198Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-24T23:26:31.249Z] Stashed 1 file(s) [Pipeline] } [2022-08-24T23:26:31.277Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-24T23:26:31.362Z] $ docker stop --time=1 2f60fd1dde70587e0dcaa7d85c4b83edf5cdb84a64aed50cd4c50529897a3c4c [2022-08-24T23:26:32.524Z] $ docker rm -f 2f60fd1dde70587e0dcaa7d85c4b83edf5cdb84a64aed50cd4c50529897a3c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-24T23:26:34.792Z] Commit message: "Merge commit '51d17d69713a44d13c4e403642911d9850989911' into HEAD" [2022-08-24T23:26:34.792Z] First time build. Skipping changelog. [2022-08-24T23:26:34.846Z] > git --version # timeout=10 [2022-08-24T23:26:34.856Z] > git --version # 'git version 2.25.1' [2022-08-24T23:26:34.866Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-24T23:26:36.081Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-24T23:26:36.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-24T23:26:36.081Z] Dload Upload Total Spent Left Speed [2022-08-24T23:26:36.081Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86315 0 --:--:-- --:--:-- --:--:-- 86315 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 85727 [Pipeline] sh [2022-08-24T23:26:36.764Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-24T23:26:37.125Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-24T23:26:37.125Z] + sudo tee /etc/docker/daemon.new [2022-08-24T23:26:37.125Z] { [2022-08-24T23:26:37.125Z] "registry-mirrors": [ [2022-08-24T23:26:37.125Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-24T23:26:37.125Z] ], [2022-08-24T23:26:37.125Z] "bip": "10.250.0.254/24", [2022-08-24T23:26:37.125Z] "hosts": [ [2022-08-24T23:26:37.125Z] "tcp://0.0.0.0:5555", [2022-08-24T23:26:37.125Z] "unix:///var/run/docker.sock" [2022-08-24T23:26:37.125Z] ], [2022-08-24T23:26:37.125Z] "mtu": 1458, [2022-08-24T23:26:37.125Z] "selinux-enabled": true, [2022-08-24T23:26:37.125Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-24T23:26:37.125Z] } [Pipeline] sh [2022-08-24T23:26:37.490Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-24T23:26:37.847Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-24T23:26:56.427Z] provisioning config files... [2022-08-24T23:26:56.454Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7410122831833569184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:26:56.852Z] ---> docker-login.sh [2022-08-24T23:26:56.852Z] nexus3.edgexfoundry.org:10001 [2022-08-24T23:26:57.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:26:57.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:26:57.725Z] Configure a credential helper to remove this warning. See [2022-08-24T23:26:57.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:26:57.725Z] [2022-08-24T23:26:57.725Z] Login Succeeded [2022-08-24T23:26:57.725Z] nexus3.edgexfoundry.org:10002 [2022-08-24T23:26:57.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:26:58.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:26:58.273Z] Configure a credential helper to remove this warning. See [2022-08-24T23:26:58.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:26:58.273Z] [2022-08-24T23:26:58.273Z] Login Succeeded [2022-08-24T23:26:58.273Z] nexus3.edgexfoundry.org:10003 [2022-08-24T23:26:58.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:26:58.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:26:58.549Z] Configure a credential helper to remove this warning. See [2022-08-24T23:26:58.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:26:58.549Z] [2022-08-24T23:26:58.549Z] Login Succeeded [2022-08-24T23:26:58.549Z] nexus3.edgexfoundry.org:10004 [2022-08-24T23:26:59.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:26:59.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:26:59.144Z] Configure a credential helper to remove this warning. See [2022-08-24T23:26:59.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:26:59.144Z] [2022-08-24T23:26:59.144Z] Login Succeeded [2022-08-24T23:26:59.144Z] docker.io [2022-08-24T23:26:59.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-24T23:26:59.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-24T23:26:59.697Z] Configure a credential helper to remove this warning. See [2022-08-24T23:26:59.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-24T23:26:59.698Z] [2022-08-24T23:26:59.698Z] Login Succeeded [2022-08-24T23:26:59.698Z] ---> docker-login.sh ends [Pipeline] } [2022-08-24T23:26:59.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-24T23:27:00.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-24T23:27:00.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-24T23:27:00.185Z] ========================================================= [2022-08-24T23:27:00.185Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-24T23:27:00.185Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:27:00.710Z] + 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 . [2022-08-24T23:27:01.313Z] Sending build context to Docker daemon 14.09MB [2022-08-24T23:27:01.313Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-24T23:27:01.313Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-24T23:27:01.313Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-24T23:27:01.313Z] b3c136eddcbf: Pulling fs layer [2022-08-24T23:27:01.313Z] c0a3192eca97: Pulling fs layer [2022-08-24T23:27:01.313Z] a050256f5b6f: Pulling fs layer [2022-08-24T23:27:01.313Z] 656be50a0ddc: Pulling fs layer [2022-08-24T23:27:01.313Z] 2bbca73fdf42: Pulling fs layer [2022-08-24T23:27:01.313Z] 46d945488cbd: Pulling fs layer [2022-08-24T23:27:01.313Z] 8a5474983e97: Pulling fs layer [2022-08-24T23:27:01.313Z] 329c88fbcd65: Pulling fs layer [2022-08-24T23:27:01.313Z] 46d945488cbd: Waiting [2022-08-24T23:27:01.313Z] 656be50a0ddc: Waiting [2022-08-24T23:27:01.313Z] 2bbca73fdf42: Waiting [2022-08-24T23:27:01.313Z] 8a5474983e97: Waiting [2022-08-24T23:27:01.313Z] 329c88fbcd65: Waiting [2022-08-24T23:27:01.313Z] a050256f5b6f: Verifying Checksum [2022-08-24T23:27:01.313Z] a050256f5b6f: Download complete [2022-08-24T23:27:01.313Z] c0a3192eca97: Verifying Checksum [2022-08-24T23:27:01.313Z] c0a3192eca97: Download complete [2022-08-24T23:27:01.313Z] 46d945488cbd: Verifying Checksum [2022-08-24T23:27:01.313Z] 46d945488cbd: Download complete [2022-08-24T23:27:01.615Z] b3c136eddcbf: Verifying Checksum [2022-08-24T23:27:01.615Z] b3c136eddcbf: Download complete [2022-08-24T23:27:02.628Z] b3c136eddcbf: Pull complete [2022-08-24T23:27:02.628Z] 329c88fbcd65: Verifying Checksum [2022-08-24T23:27:02.628Z] 329c88fbcd65: Download complete [2022-08-24T23:27:03.235Z] c0a3192eca97: Pull complete [2022-08-24T23:27:03.513Z] a050256f5b6f: Pull complete [2022-08-24T23:27:03.787Z] 8a5474983e97: Verifying Checksum [2022-08-24T23:27:03.787Z] 8a5474983e97: Download complete [2022-08-24T23:27:04.382Z] 656be50a0ddc: Verifying Checksum [2022-08-24T23:27:04.382Z] 656be50a0ddc: Download complete [2022-08-24T23:27:16.808Z] 656be50a0ddc: Pull complete [2022-08-24T23:27:17.083Z] 2bbca73fdf42: Pull complete [2022-08-24T23:27:17.359Z] 46d945488cbd: Pull complete [2022-08-24T23:27:24.091Z] 8a5474983e97: Pull complete [2022-08-24T23:27:26.083Z] 329c88fbcd65: Pull complete [2022-08-24T23:27:26.083Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-24T23:27:26.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-24T23:27:26.083Z] ---> ff4287adb874 [2022-08-24T23:27:26.083Z] Step 3/13 : ARG MAKE="make build" [2022-08-24T23:27:27.538Z] ---> Running in 93b9ac09a8ec [2022-08-24T23:27:28.137Z] Removing intermediate container 93b9ac09a8ec [2022-08-24T23:27:28.138Z] ---> a561de0bbec7 [2022-08-24T23:27:28.138Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-24T23:27:28.138Z] ---> Running in cae5c61f4ec9 [2022-08-24T23:27:28.426Z] Removing intermediate container cae5c61f4ec9 [2022-08-24T23:27:28.426Z] ---> ab29b3c9a4a8 [2022-08-24T23:27:28.426Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-24T23:27:28.426Z] ---> Running in a37d202ca5cb [2022-08-24T23:27:29.865Z] Removing intermediate container a37d202ca5cb [2022-08-24T23:27:29.865Z] ---> e3c1d22b31dd [2022-08-24T23:27:29.865Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-24T23:27:29.865Z] ---> Running in dc59331ebfc9 [2022-08-24T23:27:30.141Z] Removing intermediate container dc59331ebfc9 [2022-08-24T23:27:30.141Z] ---> b7f757bb4857 [2022-08-24T23:27:30.141Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-24T23:27:30.141Z] ---> Running in 49cb17ecef6b [2022-08-24T23:27:32.141Z] Removing intermediate container 49cb17ecef6b [2022-08-24T23:27:32.141Z] ---> 42eddc8c7b9e [2022-08-24T23:27:32.141Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-24T23:27:32.141Z] ---> Running in c54e56b1f858 [2022-08-24T23:27:33.123Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-24T23:27:33.715Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-24T23:27:34.694Z] OK: 221 MiB in 51 packages [2022-08-24T23:27:35.695Z] Removing intermediate container c54e56b1f858 [2022-08-24T23:27:35.695Z] ---> 0a5624c6581e [2022-08-24T23:27:35.695Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-24T23:27:35.695Z] ---> Running in f3b7dcd57fb2 [2022-08-24T23:27:35.970Z] Removing intermediate container f3b7dcd57fb2 [2022-08-24T23:27:35.970Z] ---> dda36a6eeaf0 [2022-08-24T23:27:35.970Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-24T23:27:36.570Z] ---> 363ae59106b0 [2022-08-24T23:27:36.570Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-24T23:27:36.570Z] ---> Running in 30c925db2101 [2022-08-24T23:28:33.103Z] Removing intermediate container 30c925db2101 [2022-08-24T23:28:33.104Z] ---> 26c4e921803e [2022-08-24T23:28:33.104Z] Step 12/13 : COPY . . [2022-08-24T23:28:33.104Z] ---> 2d9b9cb02a00 [2022-08-24T23:28:33.104Z] Step 13/13 : RUN ${MAKE} [2022-08-24T23:28:33.104Z] ---> Running in 7a99e15137f3 [2022-08-24T23:28:33.104Z] noop [2022-08-24T23:28:33.104Z] Removing intermediate container 7a99e15137f3 [2022-08-24T23:28:33.104Z] ---> 2b9a03f4ea57 [2022-08-24T23:28:33.104Z] Successfully built 2b9a03f4ea57 [2022-08-24T23:28:33.104Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:28:33.581Z] + docker inspect -f . ci-base-image-arm64 [2022-08-24T23:28:33.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-24T23:28:33.887Z] prd-ubuntu20.04-docker-arm64-4c-16g-23471 does not seem to be running inside a container [2022-08-24T23:28:33.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-24T23:28:35.248Z] $ docker top 6e86523e92439f431eebf7695bd9bfb74326ed7dff6a990c71a42a0306efd26b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-24T23:28:36.204Z] + go version [2022-08-24T23:28:36.204Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-24T23:28:36.240Z] $ docker stop --time=1 6e86523e92439f431eebf7695bd9bfb74326ed7dff6a990c71a42a0306efd26b [2022-08-24T23:28:37.869Z] $ docker rm -f 6e86523e92439f431eebf7695bd9bfb74326ed7dff6a990c71a42a0306efd26b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:28:38.995Z] + docker inspect -f . ci-base-image-arm64 [2022-08-24T23:28:38.995Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-24T23:28:39.324Z] prd-ubuntu20.04-docker-arm64-4c-16g-23471 does not seem to be running inside a container [2022-08-24T23:28:39.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-24T23:28:40.643Z] $ docker top ae2145dd26ea0bd0400ef4345769c78bad75814bddaa579ad553f2fba69690f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-24T23:28:41.618Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-24T23:28:42.348Z] + make test [2022-08-24T23:28:42.348Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-24T23:28:44.330Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-24T23:30:06.197Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-24T23:30:12.956Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.117s coverage: 10.6% of statements [2022-08-24T23:30:12.956Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-24T23:30:39.747Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.851s coverage: 13.8% of statements [2022-08-24T23:30:39.747Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-24T23:30:39.747Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-24T23:30:58.104Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-24T23:30:58.104Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-24T23:30:58.104Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-24T23:30:58.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-24T23:30:58.445Z] $ docker stop --time=1 ae2145dd26ea0bd0400ef4345769c78bad75814bddaa579ad553f2fba69690f8 [2022-08-24T23:31:00.242Z] $ docker rm -f ae2145dd26ea0bd0400ef4345769c78bad75814bddaa579ad553f2fba69690f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-24T23:31:01.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-24T23:31:01.377Z] Warning: overwriting stash ‘coverage-report’ [2022-08-24T23:31:01.925Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-24T23:31:02.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-24T23:31:02.878Z] + ls -al . [2022-08-24T23:31:02.878Z] total 228 [2022-08-24T23:31:02.878Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 24 23:28 . [2022-08-24T23:31:02.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:26 .. [2022-08-24T23:31:02.878Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 23:26 .git [2022-08-24T23:31:02.878Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 23:26 .github [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 24 23:26 .gitignore [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 24 23:26 .golangci.yml [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 24 23:26 Attribution.txt [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 24 23:26 CHANGELOG.md [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 24 23:26 Dockerfile [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 24 23:26 GOVERNANCE.md [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 24 23:26 Jenkinsfile [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 24 23:26 LICENSE [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 24 23:26 Makefile [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 24 23:26 OWNERS.md [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 24 23:26 README.md [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 23:24 VERSION [2022-08-24T23:31:02.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 23:26 bin [2022-08-24T23:31:02.878Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 23:26 cmd [2022-08-24T23:31:02.878Z] -rw-r--r-- 1 jenkins jenkins 76854 Aug 24 23:30 coverage.out [2022-08-24T23:31:02.878Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 24 23:26 doc [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 24 23:26 go.mod [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 24 23:26 go.sum [2022-08-24T23:31:02.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:26 internal [2022-08-24T23:31:02.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:26 snap [2022-08-24T23:31:02.878Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 24 23:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:31:03.321Z] + 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=8302ca870d2726cc021977c8a3ce3fefedb4b7a7 --label arch=arm64 --label version=0.0.0 . [2022-08-24T23:31:03.931Z] Sending build context to Docker daemon 14.17MB [2022-08-24T23:31:03.931Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-24T23:31:03.931Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-24T23:31:03.931Z] ---> 2b9a03f4ea57 [2022-08-24T23:31:03.931Z] Step 3/26 : ARG MAKE="make build" [2022-08-24T23:31:04.213Z] ---> Running in 31719ba7bb64 [2022-08-24T23:31:04.499Z] Removing intermediate container 31719ba7bb64 [2022-08-24T23:31:04.499Z] ---> 5f9843601c8b [2022-08-24T23:31:04.499Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-24T23:31:04.499Z] ---> Running in e060d7cdf723 [2022-08-24T23:31:04.778Z] Removing intermediate container e060d7cdf723 [2022-08-24T23:31:04.778Z] ---> eb43ef70e17c [2022-08-24T23:31:04.778Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-24T23:31:04.778Z] ---> Running in 65e592b50039 [2022-08-24T23:31:05.057Z] Removing intermediate container 65e592b50039 [2022-08-24T23:31:05.057Z] ---> 1228f89edf8b [2022-08-24T23:31:05.057Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-24T23:31:05.333Z] ---> Running in 593530de6900 [2022-08-24T23:31:05.610Z] Removing intermediate container 593530de6900 [2022-08-24T23:31:05.611Z] ---> 5f9f47ba0ad9 [2022-08-24T23:31:05.611Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-24T23:31:05.611Z] ---> Running in af67f40fda67 [2022-08-24T23:31:07.602Z] Removing intermediate container af67f40fda67 [2022-08-24T23:31:07.602Z] ---> ce3dd804e0a1 [2022-08-24T23:31:07.602Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-24T23:31:07.602Z] ---> Running in 5668d0a15ee6 [2022-08-24T23:31:08.202Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-24T23:31:09.183Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-24T23:31:10.167Z] OK: 221 MiB in 51 packages [2022-08-24T23:31:11.158Z] Removing intermediate container 5668d0a15ee6 [2022-08-24T23:31:11.158Z] ---> 1ac225cbd3b3 [2022-08-24T23:31:11.158Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-24T23:31:11.158Z] ---> Running in 5e946eaa079b [2022-08-24T23:31:11.434Z] Removing intermediate container 5e946eaa079b [2022-08-24T23:31:11.434Z] ---> 3ba2940b198e [2022-08-24T23:31:11.434Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-24T23:31:12.037Z] ---> ea0cecb91e75 [2022-08-24T23:31:12.037Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-24T23:31:12.037Z] ---> Running in 684ca0bcad30 [2022-08-24T23:31:14.025Z] Removing intermediate container 684ca0bcad30 [2022-08-24T23:31:14.025Z] ---> e696ae741858 [2022-08-24T23:31:14.025Z] Step 12/26 : COPY . . [2022-08-24T23:31:15.477Z] ---> 2374d9bb3d16 [2022-08-24T23:31:15.477Z] Step 13/26 : RUN ${MAKE} [2022-08-24T23:31:15.477Z] ---> Running in 9e2588b5c680 [2022-08-24T23:31:16.467Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-24T23:33:38.387Z] Removing intermediate container 9e2588b5c680 [2022-08-24T23:33:38.387Z] ---> a6e7bebb142f [2022-08-24T23:33:38.387Z] Step 14/26 : FROM alpine:3.16 [2022-08-24T23:33:38.387Z] 3.16: Pulling from library/alpine [2022-08-24T23:33:38.387Z] 9b18e9b68314: Pulling fs layer [2022-08-24T23:33:38.387Z] 9b18e9b68314: Verifying Checksum [2022-08-24T23:33:38.387Z] 9b18e9b68314: Download complete [2022-08-24T23:33:38.387Z] 9b18e9b68314: Pull complete [2022-08-24T23:33:38.387Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-24T23:33:38.387Z] Status: Downloaded newer image for alpine:3.16 [2022-08-24T23:33:38.387Z] ---> a6215f271958 [2022-08-24T23:33:38.387Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-24T23:33:38.387Z] ---> Running in f31b8fae2e94 [2022-08-24T23:33:38.387Z] Removing intermediate container f31b8fae2e94 [2022-08-24T23:33:38.387Z] ---> c02b5b9b8a71 [2022-08-24T23:33:38.387Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-24T23:33:38.387Z] ---> Running in af11604da338 [2022-08-24T23:33:38.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-24T23:33:38.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-24T23:33:38.387Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-24T23:33:38.387Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-24T23:33:38.387Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-24T23:33:38.387Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-24T23:33:38.387Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-24T23:33:38.387Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-24T23:33:38.387Z] Executing busybox-1.35.0-r17.trigger [2022-08-24T23:33:38.387Z] OK: 8 MiB in 20 packages [2022-08-24T23:33:38.387Z] Removing intermediate container af11604da338 [2022-08-24T23:33:38.387Z] ---> 278c9346410e [2022-08-24T23:33:38.387Z] Step 17/26 : WORKDIR / [2022-08-24T23:33:38.387Z] ---> Running in c594510a666e [2022-08-24T23:33:38.387Z] Removing intermediate container c594510a666e [2022-08-24T23:33:38.387Z] ---> 3df70d634e0c [2022-08-24T23:33:38.387Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-24T23:33:38.387Z] ---> bba13fc36068 [2022-08-24T23:33:38.387Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-24T23:33:38.387Z] ---> 083359c3cb97 [2022-08-24T23:33:38.387Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-24T23:33:38.387Z] ---> 9f3a467b9c82 [2022-08-24T23:33:38.387Z] Step 21/26 : EXPOSE 59984 [2022-08-24T23:33:38.387Z] ---> Running in 53907c14604c [2022-08-24T23:33:38.387Z] Removing intermediate container 53907c14604c [2022-08-24T23:33:38.387Z] ---> b2af53db02b6 [2022-08-24T23:33:38.387Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-24T23:33:38.387Z] ---> Running in b6da97a6c9de [2022-08-24T23:33:38.387Z] Removing intermediate container b6da97a6c9de [2022-08-24T23:33:38.387Z] ---> 023f261c1a31 [2022-08-24T23:33:38.387Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-24T23:33:38.387Z] ---> Running in ac8e59b1bc39 [2022-08-24T23:33:38.387Z] Removing intermediate container ac8e59b1bc39 [2022-08-24T23:33:38.387Z] ---> 8f39ea43a1cd [2022-08-24T23:33:38.387Z] Step 24/26 : LABEL arch=arm64 [2022-08-24T23:33:38.387Z] ---> Running in 520442181e85 [2022-08-24T23:33:38.387Z] Removing intermediate container 520442181e85 [2022-08-24T23:33:38.387Z] ---> bfa8386e6ad7 [2022-08-24T23:33:38.387Z] Step 25/26 : LABEL git_sha=8302ca870d2726cc021977c8a3ce3fefedb4b7a7 [2022-08-24T23:33:38.387Z] ---> Running in 9472f7c8c199 [2022-08-24T23:33:38.387Z] Removing intermediate container 9472f7c8c199 [2022-08-24T23:33:38.387Z] ---> e88eac9c44ff [2022-08-24T23:33:38.387Z] Step 26/26 : LABEL version=0.0.0 [2022-08-24T23:33:38.387Z] ---> Running in 492cc9086d5d [2022-08-24T23:33:38.387Z] Removing intermediate container 492cc9086d5d [2022-08-24T23:33:38.387Z] ---> 6392e06d8d14 [2022-08-24T23:33:38.387Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-24T23:33:38.387Z] Successfully built 6392e06d8d14 [2022-08-24T23:33:38.387Z] 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 [2022-08-24T23:33:39.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-24T23:33:39.221Z] [2022-08-24T23:33:39.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:33:39.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-24T23:33:39.919Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-24T23:33:39.919Z] 8998bd30e6a1: Pulling fs layer [2022-08-24T23:33:39.919Z] 04944245beec: Pulling fs layer [2022-08-24T23:33:39.919Z] 699f458cf7ca: Pulling fs layer [2022-08-24T23:33:39.919Z] 765212b225bb: Pulling fs layer [2022-08-24T23:33:39.919Z] f23df028b6ca: Pulling fs layer [2022-08-24T23:33:39.919Z] d65c8cfc05b1: Pulling fs layer [2022-08-24T23:33:39.919Z] 2437ff75d9bd: Pulling fs layer [2022-08-24T23:33:39.919Z] f23df028b6ca: Waiting [2022-08-24T23:33:39.919Z] d65c8cfc05b1: Waiting [2022-08-24T23:33:39.919Z] 765212b225bb: Waiting [2022-08-24T23:33:39.919Z] 2437ff75d9bd: Waiting [2022-08-24T23:33:39.919Z] 04944245beec: Verifying Checksum [2022-08-24T23:33:39.919Z] 04944245beec: Download complete [2022-08-24T23:33:39.919Z] 765212b225bb: Verifying Checksum [2022-08-24T23:33:39.919Z] 765212b225bb: Download complete [2022-08-24T23:33:39.919Z] f23df028b6ca: Verifying Checksum [2022-08-24T23:33:39.919Z] f23df028b6ca: Download complete [2022-08-24T23:33:40.195Z] d65c8cfc05b1: Verifying Checksum [2022-08-24T23:33:40.195Z] d65c8cfc05b1: Download complete [2022-08-24T23:33:40.195Z] 699f458cf7ca: Verifying Checksum [2022-08-24T23:33:40.195Z] 699f458cf7ca: Download complete [2022-08-24T23:33:40.474Z] 8998bd30e6a1: Verifying Checksum [2022-08-24T23:33:40.474Z] 8998bd30e6a1: Download complete [2022-08-24T23:33:43.100Z] 2437ff75d9bd: Verifying Checksum [2022-08-24T23:33:43.100Z] 2437ff75d9bd: Download complete [2022-08-24T23:33:45.086Z] 8998bd30e6a1: Pull complete [2022-08-24T23:33:45.363Z] 04944245beec: Pull complete [2022-08-24T23:33:46.805Z] 699f458cf7ca: Pull complete [2022-08-24T23:33:47.080Z] 765212b225bb: Pull complete [2022-08-24T23:33:48.066Z] f23df028b6ca: Pull complete [2022-08-24T23:33:48.066Z] d65c8cfc05b1: Pull complete [2022-08-24T23:34:03.189Z] 2437ff75d9bd: Pull complete [2022-08-24T23:34:03.189Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-24T23:34:03.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-24T23:34:03.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-24T23:34:03.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-23471 does not seem to be running inside a container [2022-08-24T23:34:03.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-24T23:34:06.135Z] $ docker top 428e7ae9aa7f22d6357d46b3349d4f066dc6618c96e5659c0b3dd829c68fbb99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:34:07.122Z] ---> job-cost.sh [2022-08-24T23:34:07.122Z] lf-activate-venv: SKIPPING [2022-08-24T23:34:07.122Z] INFO: No Stack... [2022-08-24T23:34:07.718Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-24T23:34:08.318Z] INFO: Archiving Costs [Pipeline] sh [2022-08-24T23:34:09.272Z] + cut -d, -f6 [2022-08-24T23:34:09.273Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-08-24T23:34:09.356Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [2022-08-24T23:34:09.361Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] did not exist. Created. [2022-08-24T23:34:09.361Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-24T23:34:10.112Z] /w/workspace/device-onvif-camera/1@tmp/durable-57714074/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-24T23:34:10.824Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-24T23:34:10.861Z] Warning: overwriting stash ‘stack-cost’ [2022-08-24T23:34:10.917Z] Stashed 1 file(s) [Pipeline] } [2022-08-24T23:34:10.931Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-24T23:34:11.021Z] $ docker stop --time=1 428e7ae9aa7f22d6357d46b3349d4f066dc6618c96e5659c0b3dd829c68fbb99 [2022-08-24T23:34:12.523Z] $ docker rm -f 428e7ae9aa7f22d6357d46b3349d4f066dc6618c96e5659c0b3dd829c68fbb99 [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 [2022-08-24T23:34:13.620Z] provisioning config files... [2022-08-24T23:34:13.629Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-145@tmp/config7664494974370290225tmp [Pipeline] { [Pipeline] sh [2022-08-24T23:34:13.962Z] + set +x [2022-08-24T23:34:13.962Z] + curl -s https://codecov.io/bash [2022-08-24T23:34:13.962Z] + bash -s -- [2022-08-24T23:34:13.962Z] [2022-08-24T23:34:13.962Z] _____ _ [2022-08-24T23:34:13.962Z] / ____| | | [2022-08-24T23:34:13.962Z] | | ___ __| | ___ ___ _____ __ [2022-08-24T23:34:13.962Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-24T23:34:13.962Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-24T23:34:13.962Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-24T23:34:13.962Z] Bash-1.0.6 [2022-08-24T23:34:13.962Z] [2022-08-24T23:34:13.962Z] [2022-08-24T23:34:13.962Z] ==> git version 2.25.1 found [2022-08-24T23:34:13.963Z] ==> 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 [2022-08-24T23:34:13.963Z] Release-Date: 2020-01-08 [2022-08-24T23:34:13.963Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-24T23:34:13.963Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-24T23:34:13.963Z] ==> Jenkins CI detected. [2022-08-24T23:34:13.963Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-145 [2022-08-24T23:34:13.963Z] project root: . [2022-08-24T23:34:13.963Z] --> token set from env [2022-08-24T23:34:13.963Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-24T23:34:13.963Z] ==> Running gcov in . (disable via -X gcov) [2022-08-24T23:34:13.963Z] ==> Python coveragepy not found [2022-08-24T23:34:13.963Z] ==> Searching for coverage reports in: [2022-08-24T23:34:13.963Z] + . [2022-08-24T23:34:13.963Z] -> Found 1 reports [2022-08-24T23:34:13.963Z] ==> Detecting git/mercurial file structure [2022-08-24T23:34:13.963Z] ==> Reading reports [2022-08-24T23:34:13.963Z] + ./coverage.out bytes=76854 [2022-08-24T23:34:13.963Z] ==> Appending adjustments [2022-08-24T23:34:13.963Z] https://docs.codecov.io/docs/fixing-reports [2022-08-24T23:34:14.223Z] + Found adjustments [2022-08-24T23:34:14.223Z] ==> Gzipping contents [2022-08-24T23:34:14.223Z] 12K /tmp/codecov.FiRk9m.gz [2022-08-24T23:34:14.223Z] ==> Uploading reports [2022-08-24T23:34:14.223Z] url: https://codecov.io [2022-08-24T23:34:14.223Z] query: branch=PR-145&commit=265960408281c9f88fe69f851785741b90ff9245&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=145&job=&cmd_args= [2022-08-24T23:34:14.223Z] -> Pinging Codecov [2022-08-24T23:34:14.223Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-145&commit=265960408281c9f88fe69f851785741b90ff9245&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=145&job=&cmd_args= [2022-08-24T23:34:14.483Z] -> Uploading to [2022-08-24T23:34:14.483Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-24/F29A59C45E3A92E06B3E522C9905F8EF/265960408281c9f88fe69f851785741b90ff9245/c563a5d3-d014-4010-9228-d1ede9b57790.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220824%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220824T233414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be27743a1ff3fa3c11462310d0e646eb0081556c357e2b31d9db5bf2e40bfff8 [2022-08-24T23:34:14.483Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-24T23:34:14.483Z] Dload Upload Total Spent Left Speed [2022-08-24T23:34:14.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10399 0 0 100 10399 0 46842 --:--:-- --:--:-- --:--:-- 46632 100 10399 0 0 100 10399 0 41430 --:--:-- --:--:-- --:--:-- 41265 [2022-08-24T23:34:14.742Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/265960408281c9f88fe69f851785741b90ff9245 [Pipeline] } [2022-08-24T23:34:14.772Z] 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 [2022-08-24T23:34:16.663Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-145/archives ] [2022-08-24T23:34:16.663Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-145/archives [2022-08-24T23:34:16.663Z] total 16 [2022-08-24T23:34:16.663Z] drwxr-xr-x 3 root root 4096 Aug 24 23:26 . [2022-08-24T23:34:16.663Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 24 23:26 .. [2022-08-24T23:34:16.663Z] drwxr-xr-x 2 root root 4096 Aug 24 23:26 cost [2022-08-24T23:34:16.663Z] -rw-r--r-- 1 root root 91 Aug 24 23:26 cost.csv [2022-08-24T23:34:16.663Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-145/archives [2022-08-24T23:34:16.663Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-145/archives [2022-08-24T23:34:16.663Z] total 16 [2022-08-24T23:34:16.663Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 24 23:26 . [2022-08-24T23:34:16.663Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 24 23:26 .. [2022-08-24T23:34:16.663Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 24 23:26 cost [2022-08-24T23:34:16.663Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 24 23:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:34:16.999Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:34:17.892Z] ---> package-listing.sh [2022-08-24T23:34:17.892Z] ++ facter osfamily [2022-08-24T23:34:17.892Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-24T23:34:18.153Z] + OS_FAMILY=debian [2022-08-24T23:34:18.153Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-145 [2022-08-24T23:34:18.153Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-24T23:34:18.153Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-24T23:34:18.153Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-24T23:34:18.153Z] + PACKAGES=/tmp/packages_start.txt [2022-08-24T23:34:18.153Z] + '[' /w/workspace/undry_device-onvif-camera_PR-145 ']' [2022-08-24T23:34:18.153Z] + PACKAGES=/tmp/packages_end.txt [2022-08-24T23:34:18.153Z] + case "${OS_FAMILY}" in [2022-08-24T23:34:18.153Z] + dpkg -l [2022-08-24T23:34:18.153Z] + grep '^ii' [2022-08-24T23:34:18.153Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-24T23:34:18.153Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-24T23:34:18.153Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-24T23:34:18.153Z] + '[' /w/workspace/undry_device-onvif-camera_PR-145 ']' [2022-08-24T23:34:18.153Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-145/archives/ [2022-08-24T23:34:18.153Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-145/archives/ [Pipeline] echo [2022-08-24T23:34:18.190Z] 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-145/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-24T23:34:18.487Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-24T23:34:19.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-24T23:34:19.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-24T23:34:19.300Z] prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container [2022-08-24T23:34:19.341Z] $ 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-145/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-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@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 [2022-08-24T23:34:19.552Z] $ docker top 8ffb08be777d7c26c622ff1fbae67e414c35bb8f87496626cc937de63dd1dc60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-24T23:34:19.966Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-24T23:34:20.278Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-24T23:34:20.590Z] + ls /var/log/sa-host [2022-08-24T23:34:20.590Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-24T23:34:20.733Z] provisioning config files... [2022-08-24T23:34:20.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-145@tmp/config4823773071315683913tmp [Pipeline] { [Pipeline] echo [2022-08-24T23:34:20.799Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:34:21.118Z] ---> create-netrc.sh [Pipeline] } [2022-08-24T23:34:21.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:34:21.558Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-24T23:34:21.590Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:34:21.906Z] ---> sudo-logs.sh [2022-08-24T23:34:21.906Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-24T23:34:21.991Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:34:22.307Z] ---> job-cost.sh [2022-08-24T23:34:22.307Z] lf-activate-venv: SKIPPING [2022-08-24T23:34:22.307Z] DEBUG: total: 0.2199999988079071 [2022-08-24T23:34:22.307Z] INFO: Retrieving Stack Cost... [2022-08-24T23:34:22.568Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-24T23:34:23.141Z] INFO: Archiving Costs [Pipeline] echo [2022-08-24T23:34:23.175Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-24T23:34:23.492Z] ---> logs-deploy.sh [2022-08-24T23:34:23.492Z] lf-activate-venv: SKIPPING [2022-08-24T23:34:23.492Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-145/1 [2022-08-24T23:34:23.492Z] INFO: archiving workspace using pattern(s): [2022-08-24T23:34:24.434Z] Archives upload complete. [2022-08-24T23:34:24.695Z] INFO: archiving logs to Nexus