Pull request #272 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 levski at 0c6690d512fca69ab8f13dc5deb436fc09094519 rather than c34dc95701eede0a3414156c22f92b1523ce1528 Obtained Jenkinsfile from 0c6690d512fca69ab8f13dc5deb436fc09094519 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-ssh17894125995447643.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5801260300134038181.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-272/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-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4075464465981122694.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-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9187954763022592488.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6372339255588565920.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-272/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-272/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11018815444185219128.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, goVersion:1.18, 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 Running on prd-ubuntu20.04-docker-8c-8g-2543 in /w/workspace/undry_device-onvif-camera_PR-272 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-272 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 Merging remotes/origin/levski commit 0c6690d512fca69ab8f13dc5deb436fc09094519 into PR head commit c34dc95701eede0a3414156c22f92b1523ce1528 Merge succeeded, producing c34dc95701eede0a3414156c22f92b1523ce1528 Checking out Revision c34dc95701eede0a3414156c22f92b1523ce1528 (PR-272) > git config core.sparsecheckout # timeout=10 > git checkout -f c34dc95701eede0a3414156c22f92b1523ce1528 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c34dc95701eede0a3414156c22f92b1523ce1528 # timeout=10 Commit message: "docs: change location of nats documentation (#237)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T23:29:29.009Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T23:29:29.177Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T23:29:29.267Z] ========================================================= [2023-03-16T23:29:29.267Z] EdgeX Global Pipelines Version Info [2023-03-16T23:29:29.267Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:29:30.014Z] ------------------- [2023-03-16T23:29:30.014Z] stable info: [2023-03-16T23:29:30.014Z] ------------------- [2023-03-16T23:29:30.014Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T23:29:30.014Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T23:29:30.014Z] Message: update stable to v1.0.245 [2023-03-16T23:29:30.586Z] ------------------- [2023-03-16T23:29:30.586Z] experimental info: [2023-03-16T23:29:30.586Z] ------------------- [2023-03-16T23:29:30.586Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T23:29:30.586Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T23:29:30.586Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T23:29:30.852Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-16T23:29:30.892Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-16T23:29:30.935Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T23:29:30.973Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T23:29:31.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T23:29:31.054Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-16T23:29:31.099Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T23:29:31.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T23:29:31.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T23:29:31.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T23:29:31.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T23:29:31.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-16T23:29:31.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T23:29:31.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T23:29:31.419Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T23:29:31.461Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T23:29:31.496Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T23:29:31.531Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T23:29:31.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T23:29:31.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T23:29:31.642Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-16T23:29:31.682Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-16T23:29:31.716Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T23:29:31.752Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T23:29:31.786Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T23:29:31.826Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T23:29:31.863Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T23:29:31.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-272 [Pipeline] echo [2023-03-16T23:29:31.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-272 [Pipeline] echo [2023-03-16T23:29:31.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-272 [Pipeline] echo [2023-03-16T23:29:32.034Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c34dc95701eede0a3414156c22f92b1523ce1528 [Pipeline] echo [2023-03-16T23:29:32.076Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c34dc95 [Pipeline] echo [2023-03-16T23:29:32.114Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:29:32.234Z] provisioning config files... [2023-03-16T23:29:32.251Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config14508908376826651804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:29:32.588Z] ---> docker-login.sh [2023-03-16T23:29:32.588Z] nexus3.edgexfoundry.org:10001 [2023-03-16T23:29:32.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:32.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:32.849Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:32.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:32.849Z] [2023-03-16T23:29:32.849Z] Login Succeeded [2023-03-16T23:29:32.849Z] nexus3.edgexfoundry.org:10002 [2023-03-16T23:29:32.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:33.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:33.111Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:33.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:33.111Z] [2023-03-16T23:29:33.111Z] Login Succeeded [2023-03-16T23:29:33.111Z] nexus3.edgexfoundry.org:10003 [2023-03-16T23:29:33.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:33.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:33.111Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:33.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:33.111Z] [2023-03-16T23:29:33.111Z] Login Succeeded [2023-03-16T23:29:33.111Z] nexus3.edgexfoundry.org:10004 [2023-03-16T23:29:33.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:33.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:33.370Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:33.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:33.370Z] [2023-03-16T23:29:33.370Z] Login Succeeded [2023-03-16T23:29:33.370Z] docker.io [2023-03-16T23:29:33.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:33.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:33.631Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:33.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:33.631Z] [2023-03-16T23:29:33.631Z] Login Succeeded [2023-03-16T23:29:33.631Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T23:29:33.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T23:29:34.263Z] + git rev-list -1 --merges c34dc95701eede0a3414156c22f92b1523ce1528~1..c34dc95701eede0a3414156c22f92b1523ce1528 [Pipeline] echo [2023-03-16T23:29:34.328Z] -----------> git rev-list -1 --merges c34dc95701eede0a3414156c22f92b1523ce1528~1..c34dc95701eede0a3414156c22f92b1523ce1528 c34dc95701eede0a3414156c22f92b1523ce1528 [false] [Pipeline] sh [2023-03-16T23:29:34.644Z] + git log --format=format:%s -1 c34dc95701eede0a3414156c22f92b1523ce1528 [Pipeline] echo [2023-03-16T23:29:34.678Z] ========================================================= [2023-03-16T23:29:34.678Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T23:29:34.678Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T23:29:35.098Z] + git log --format=format:%s -1 c34dc95701eede0a3414156c22f92b1523ce1528 [Pipeline] echo [2023-03-16T23:29:35.130Z] [semverPrep] GIT_COMMIT: c34dc95701eede0a3414156c22f92b1523ce1528, Commit Message: docs: change location of nats documentation (#237) [Pipeline] echo [2023-03-16T23:29:35.158Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T23:29:35.524Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T23:29:35.524Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T23:29:35.524Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T23:29:35.524Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T23:29:35.524Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T23:29:35.524Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T23:29:35.524Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:29:35.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T23:29:35.935Z] [2023-03-16T23:29:35.935Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:29:36.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T23:29:36.313Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T23:29:36.313Z] b85a868b505f: Pulling fs layer [2023-03-16T23:29:36.313Z] e2be974225ed: Pulling fs layer [2023-03-16T23:29:36.313Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T23:29:36.313Z] 988bab9f4d93: Pulling fs layer [2023-03-16T23:29:36.313Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T23:29:36.313Z] eaf3925da568: Pulling fs layer [2023-03-16T23:29:36.313Z] bab4dde63d76: Pulling fs layer [2023-03-16T23:29:36.313Z] bde34c3a00c8: Pulling fs layer [2023-03-16T23:29:36.313Z] b352a97aabf1: Pulling fs layer [2023-03-16T23:29:36.313Z] 4872d77fe225: Pulling fs layer [2023-03-16T23:29:36.313Z] 5851b861e8e6: Pulling fs layer [2023-03-16T23:29:36.313Z] 1469e6f7b9e6: Waiting [2023-03-16T23:29:36.313Z] 988bab9f4d93: Waiting [2023-03-16T23:29:36.313Z] 5851b861e8e6: Waiting [2023-03-16T23:29:36.313Z] bab4dde63d76: Waiting [2023-03-16T23:29:36.313Z] bde34c3a00c8: Waiting [2023-03-16T23:29:36.313Z] 4872d77fe225: Waiting [2023-03-16T23:29:36.313Z] eaf3925da568: Waiting [2023-03-16T23:29:36.313Z] b352a97aabf1: Waiting [2023-03-16T23:29:36.313Z] e2be974225ed: Download complete [2023-03-16T23:29:36.313Z] 988bab9f4d93: Verifying Checksum [2023-03-16T23:29:36.313Z] 988bab9f4d93: Download complete [2023-03-16T23:29:36.573Z] 1469e6f7b9e6: Download complete [2023-03-16T23:29:36.573Z] eaf3925da568: Verifying Checksum [2023-03-16T23:29:36.573Z] eaf3925da568: Download complete [2023-03-16T23:29:36.573Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T23:29:36.573Z] 339a4e72a1f5: Download complete [2023-03-16T23:29:36.573Z] bde34c3a00c8: Download complete [2023-03-16T23:29:36.573Z] b352a97aabf1: Verifying Checksum [2023-03-16T23:29:36.573Z] b352a97aabf1: Download complete [2023-03-16T23:29:36.573Z] 4872d77fe225: Download complete [2023-03-16T23:29:36.573Z] 5851b861e8e6: Verifying Checksum [2023-03-16T23:29:36.573Z] 5851b861e8e6: Download complete [2023-03-16T23:29:36.573Z] b85a868b505f: Verifying Checksum [2023-03-16T23:29:36.573Z] b85a868b505f: Download complete [2023-03-16T23:29:36.833Z] bab4dde63d76: Verifying Checksum [2023-03-16T23:29:36.833Z] bab4dde63d76: Download complete [2023-03-16T23:29:37.771Z] b85a868b505f: Pull complete [2023-03-16T23:29:38.030Z] e2be974225ed: Pull complete [2023-03-16T23:29:38.597Z] 339a4e72a1f5: Pull complete [2023-03-16T23:29:38.597Z] 988bab9f4d93: Pull complete [2023-03-16T23:29:38.858Z] 1469e6f7b9e6: Pull complete [2023-03-16T23:29:38.858Z] eaf3925da568: Pull complete [2023-03-16T23:29:40.762Z] bab4dde63d76: Pull complete [2023-03-16T23:29:40.762Z] bde34c3a00c8: Pull complete [2023-03-16T23:29:41.021Z] b352a97aabf1: Pull complete [2023-03-16T23:29:41.021Z] 4872d77fe225: Pull complete [2023-03-16T23:29:41.021Z] 5851b861e8e6: Pull complete [2023-03-16T23:29:41.021Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T23:29:41.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T23:29:41.021Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:29:41.259Z] prd-ubuntu20.04-docker-8c-8g-2543 does not seem to be running inside a container [2023-03-16T23:29:41.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T23:29:43.277Z] $ docker top 1569bf69c8374c6607d32c4780a31d08a61571bb040da1b468c0e99d8f47ebb6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T23:29:43.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T23:29:43.454Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T23:29:43.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T23:29:43.569Z] $ docker exec 1569bf69c8374c6607d32c4780a31d08a61571bb040da1b468c0e99d8f47ebb6 ssh-agent [2023-03-16T23:29:43.670Z] SSH_AUTH_SOCK=/tmp/ssh-XkTGFse6pkjW/agent.32 [2023-03-16T23:29:43.670Z] SSH_AGENT_PID=38 [2023-03-16T23:29:43.676Z] Running ssh-add (command line suppressed) [2023-03-16T23:29:43.770Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_13190282291200596381.key (/w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_13190282291200596381.key) [2023-03-16T23:29:43.779Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T23:29:44.104Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T23:29:44.132Z] $ docker exec --env ******** --env ******** 1569bf69c8374c6607d32c4780a31d08a61571bb040da1b468c0e99d8f47ebb6 ssh-agent -k [2023-03-16T23:29:44.233Z] unset SSH_AUTH_SOCK; [2023-03-16T23:29:44.233Z] unset SSH_AGENT_PID; [2023-03-16T23:29:44.234Z] echo Agent pid 38 killed; [2023-03-16T23:29:44.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T23:29:44.326Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T23:29:44.326Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T23:29:44.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T23:29:44.450Z] $ docker exec 1569bf69c8374c6607d32c4780a31d08a61571bb040da1b468c0e99d8f47ebb6 ssh-agent [2023-03-16T23:29:44.560Z] SSH_AUTH_SOCK=/tmp/ssh-ps8UQ7HO6YMX/agent.70 [2023-03-16T23:29:44.560Z] SSH_AGENT_PID=77 [2023-03-16T23:29:44.565Z] Running ssh-add (command line suppressed) [2023-03-16T23:29:44.676Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_9756704970869869664.key (/w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_9756704970869869664.key) [2023-03-16T23:29:44.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T23:29:45.008Z] + git semver init [2023-03-16T23:29:45.268Z] 2023-03-16 23:29:45,209 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T23:29:45.268Z] 2023-03-16 23:29:45,210 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-272/.semver [2023-03-16T23:29:45.268Z] 2023-03-16 23:29:45,210 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-272/.semver [2023-03-16T23:29:45.268Z] 2023-03-16 23:29:45,210 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-272/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-272, universal_newlines=False, shell=None, istream=None) [2023-03-16T23:29:46.203Z] 2023-03-16 23:29:46,077 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-272/.git/info/exclude [2023-03-16T23:29:46.203Z] 2023-03-16 23:29:46,077 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-272/.semver/PR-272 with force:False [2023-03-16T23:29:46.203Z] 2023-03-16 23:29:46,077 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-272/.semver/PR-272 [2023-03-16T23:29:46.203Z] 2023-03-16 23:29:46,082 [execute] INFO git cat-file --batch-check [2023-03-16T23:29:46.203Z] 2023-03-16 23:29:46,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T23:29:46.203Z] 2023-03-16 23:29:46,089 [execute] INFO git cat-file --batch [2023-03-16T23:29:46.203Z] 2023-03-16 23:29:46,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T23:29:46.203Z] 2023-03-16 23:29:46,095 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-272/.semver/PR-272 [2023-03-16T23:29:46.203Z] 0.0.0 [Pipeline] } [2023-03-16T23:29:46.233Z] $ docker exec --env ******** --env ******** 1569bf69c8374c6607d32c4780a31d08a61571bb040da1b468c0e99d8f47ebb6 ssh-agent -k [2023-03-16T23:29:46.347Z] unset SSH_AUTH_SOCK; [2023-03-16T23:29:46.348Z] unset SSH_AGENT_PID; [2023-03-16T23:29:46.348Z] echo Agent pid 77 killed; [2023-03-16T23:29:46.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T23:29:46.774Z] + git semver [Pipeline] } [2023-03-16T23:29:47.063Z] $ docker stop --time=1 1569bf69c8374c6607d32c4780a31d08a61571bb040da1b468c0e99d8f47ebb6 [2023-03-16T23:29:48.353Z] $ docker rm -f --volumes 1569bf69c8374c6607d32c4780a31d08a61571bb040da1b468c0e99d8f47ebb6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T23:29:48.757Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T23:29:49.026Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T23:29:49.041Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:29:49.690Z] provisioning config files... [2023-03-16T23:29:49.700Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config12305166719454362087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:29:50.052Z] ---> docker-login.sh [2023-03-16T23:29:50.053Z] nexus3.edgexfoundry.org:10001 [2023-03-16T23:29:50.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:50.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:50.053Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:50.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:50.053Z] [2023-03-16T23:29:50.053Z] Login Succeeded [2023-03-16T23:29:50.053Z] nexus3.edgexfoundry.org:10002 [2023-03-16T23:29:50.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:50.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:50.053Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:50.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:50.053Z] [2023-03-16T23:29:50.053Z] Login Succeeded [2023-03-16T23:29:50.053Z] nexus3.edgexfoundry.org:10003 [2023-03-16T23:29:50.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:50.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:50.313Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:50.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:50.313Z] [2023-03-16T23:29:50.313Z] Login Succeeded [2023-03-16T23:29:50.313Z] nexus3.edgexfoundry.org:10004 [2023-03-16T23:29:50.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:50.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:50.313Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:50.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:50.313Z] [2023-03-16T23:29:50.313Z] Login Succeeded [2023-03-16T23:29:50.313Z] docker.io [2023-03-16T23:29:50.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:29:50.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:29:50.574Z] Configure a credential helper to remove this warning. See [2023-03-16T23:29:50.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:29:50.574Z] [2023-03-16T23:29:50.574Z] Login Succeeded [2023-03-16T23:29:50.574Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T23:29:50.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T23:29:50.794Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:29:50.828Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:29:50.856Z] ========================================================= [2023-03-16T23:29:50.856Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-16T23:29:50.856Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:29:51.317Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T23:29:51.317Z] Sending build context to Docker daemon 27.96MB [2023-03-16T23:29:51.317Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-16T23:29:51.317Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T23:29:51.579Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T23:29:51.579Z] 213ec9aee27d: Pulling fs layer [2023-03-16T23:29:51.579Z] 4583459ba037: Pulling fs layer [2023-03-16T23:29:51.579Z] 93c1e223e6f2: Pulling fs layer [2023-03-16T23:29:51.579Z] 53926ce57604: Pulling fs layer [2023-03-16T23:29:51.579Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-16T23:29:51.579Z] 22ff95d597cd: Pulling fs layer [2023-03-16T23:29:51.579Z] 12d6caf4c0d1: Pulling fs layer [2023-03-16T23:29:51.579Z] 96b7cbca73a9: Pulling fs layer [2023-03-16T23:29:51.579Z] a7acece74701: Pulling fs layer [2023-03-16T23:29:51.579Z] 53926ce57604: Waiting [2023-03-16T23:29:51.579Z] 21b2b0c7a3f4: Waiting [2023-03-16T23:29:51.579Z] 96b7cbca73a9: Waiting [2023-03-16T23:29:51.579Z] 12d6caf4c0d1: Waiting [2023-03-16T23:29:51.579Z] 22ff95d597cd: Waiting [2023-03-16T23:29:51.579Z] 93c1e223e6f2: Verifying Checksum [2023-03-16T23:29:51.579Z] 93c1e223e6f2: Download complete [2023-03-16T23:29:51.579Z] 4583459ba037: Verifying Checksum [2023-03-16T23:29:51.579Z] 4583459ba037: Download complete [2023-03-16T23:29:51.579Z] 21b2b0c7a3f4: Download complete [2023-03-16T23:29:51.579Z] 213ec9aee27d: Download complete [2023-03-16T23:29:51.579Z] 22ff95d597cd: Verifying Checksum [2023-03-16T23:29:51.579Z] 22ff95d597cd: Download complete [2023-03-16T23:29:51.579Z] 12d6caf4c0d1: Download complete [2023-03-16T23:29:51.579Z] 213ec9aee27d: Pull complete [2023-03-16T23:29:51.843Z] 4583459ba037: Pull complete [2023-03-16T23:29:51.843Z] 93c1e223e6f2: Pull complete [2023-03-16T23:29:52.103Z] a7acece74701: Verifying Checksum [2023-03-16T23:29:52.103Z] a7acece74701: Download complete [2023-03-16T23:29:52.361Z] 96b7cbca73a9: Verifying Checksum [2023-03-16T23:29:52.361Z] 96b7cbca73a9: Download complete [2023-03-16T23:29:52.361Z] 53926ce57604: Verifying Checksum [2023-03-16T23:29:52.361Z] 53926ce57604: Download complete [2023-03-16T23:29:56.555Z] 53926ce57604: Pull complete [2023-03-16T23:29:56.555Z] 21b2b0c7a3f4: Pull complete [2023-03-16T23:29:56.555Z] 22ff95d597cd: Pull complete [2023-03-16T23:29:56.555Z] 12d6caf4c0d1: Pull complete [2023-03-16T23:29:58.459Z] 96b7cbca73a9: Pull complete [2023-03-16T23:29:59.027Z] a7acece74701: Pull complete [2023-03-16T23:29:59.027Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-16T23:29:59.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-16T23:29:59.027Z] ---> db6d94c90886 [2023-03-16T23:29:59.027Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:30:03.226Z] ---> Running in f1c68ac82191 [2023-03-16T23:30:03.226Z] Removing intermediate container f1c68ac82191 [2023-03-16T23:30:03.226Z] ---> 3bc1683cbef6 [2023-03-16T23:30:03.226Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:30:03.226Z] ---> Running in 779d2666012e [2023-03-16T23:30:03.226Z] Removing intermediate container 779d2666012e [2023-03-16T23:30:03.226Z] ---> 73f49d0547d7 [2023-03-16T23:30:03.226Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-16T23:30:03.226Z] ---> Running in 1dfb2d9fa562 [2023-03-16T23:30:03.226Z] Removing intermediate container 1dfb2d9fa562 [2023-03-16T23:30:03.226Z] ---> 121a6576cd60 [2023-03-16T23:30:03.226Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:30:03.226Z] ---> Running in 9382ea7c53c7 [2023-03-16T23:30:03.226Z] Removing intermediate container 9382ea7c53c7 [2023-03-16T23:30:03.226Z] ---> 794cb8485793 [2023-03-16T23:30:03.226Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T23:30:03.226Z] ---> Running in 4d12d612f535 [2023-03-16T23:30:03.226Z] Removing intermediate container 4d12d612f535 [2023-03-16T23:30:03.226Z] ---> 2339f378c218 [2023-03-16T23:30:03.226Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:30:03.226Z] ---> Running in 4cc6e0da35a7 [2023-03-16T23:30:03.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T23:30:03.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-16T23:30:04.052Z] OK: 211 MiB in 51 packages [2023-03-16T23:30:04.312Z] Removing intermediate container 4cc6e0da35a7 [2023-03-16T23:30:04.312Z] ---> acfb97b758d8 [2023-03-16T23:30:04.312Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T23:30:04.312Z] ---> Running in b0223bbefc3e [2023-03-16T23:30:04.312Z] Removing intermediate container b0223bbefc3e [2023-03-16T23:30:04.312Z] ---> b30c834a3898 [2023-03-16T23:30:04.312Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T23:30:04.447Z] Still waiting to schedule task [2023-03-16T23:30:04.447Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2545’ is offline [2023-03-16T23:30:04.572Z] ---> 4884a3178ba9 [2023-03-16T23:30:04.572Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:30:04.572Z] ---> Running in 3c35b0e2441d [2023-03-16T23:30:43.298Z] Removing intermediate container 3c35b0e2441d [2023-03-16T23:30:43.298Z] ---> 609c0a661486 [2023-03-16T23:30:43.298Z] Step 12/13 : COPY . . [2023-03-16T23:30:43.298Z] ---> b984629feca2 [2023-03-16T23:30:43.298Z] Step 13/13 : RUN ${MAKE} [2023-03-16T23:30:43.298Z] ---> Running in 61df60c2ea92 [2023-03-16T23:30:43.298Z] noop [2023-03-16T23:30:43.298Z] Removing intermediate container 61df60c2ea92 [2023-03-16T23:30:43.298Z] ---> d3d4de36f79a [2023-03-16T23:30:43.298Z] Successfully built d3d4de36f79a [2023-03-16T23:30:43.298Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:30:43.751Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T23:30:43.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:30:43.903Z] prd-ubuntu20.04-docker-8c-8g-2543 does not seem to be running inside a container [2023-03-16T23:30:43.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T23:30:44.295Z] $ docker top 3e0e5f9fcbb1723e3cefec87e0137fb053d09b6cc79d7c82f6eaec9b3b0ad0d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:30:44.695Z] + go version [2023-03-16T23:30:44.695Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-16T23:30:44.732Z] $ docker stop --time=1 3e0e5f9fcbb1723e3cefec87e0137fb053d09b6cc79d7c82f6eaec9b3b0ad0d6 [2023-03-16T23:30:46.014Z] $ docker rm -f --volumes 3e0e5f9fcbb1723e3cefec87e0137fb053d09b6cc79d7c82f6eaec9b3b0ad0d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:30:46.721Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T23:30:46.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:30:46.883Z] prd-ubuntu20.04-docker-8c-8g-2543 does not seem to be running inside a container [2023-03-16T23:30:46.916Z] $ 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-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T23:30:47.267Z] $ docker top f5044dcc0a9ebf6ea613e3c3fa3491c147b90ba00d1559022c68b823e7c960c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:30:47.661Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-272 [Pipeline] fileExists [Pipeline] sh [2023-03-16T23:30:48.028Z] + make test [2023-03-16T23:30:48.028Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-16T23:30:48.288Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T23:31:00.494Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-16T23:31:02.404Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 29.3% of statements [2023-03-16T23:31:02.404Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T23:31:02.404Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.546s coverage: 86.5% of statements [2023-03-16T23:31:10.539Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-16T23:31:10.539Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-16T23:31:14.727Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T23:31:14.727Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T23:31:14.727Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T23:31:14.766Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T23:31:14.805Z] $ docker stop --time=1 f5044dcc0a9ebf6ea613e3c3fa3491c147b90ba00d1559022c68b823e7c960c7 [2023-03-16T23:31:16.987Z] $ docker rm -f --volumes f5044dcc0a9ebf6ea613e3c3fa3491c147b90ba00d1559022c68b823e7c960c7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T23:31:17.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T23:31:17.572Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T23:31:18.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T23:31:18.544Z] + ls -al . [2023-03-16T23:31:18.545Z] total 248 [2023-03-16T23:31:18.545Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 23:30 . [2023-03-16T23:31:18.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:29 .. [2023-03-16T23:31:18.545Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 23:31 .git [2023-03-16T23:31:18.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 23:29 .github [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 23:29 .gitignore [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 23:29 .golangci.yml [2023-03-16T23:31:18.545Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 23:29 .semver [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 16 23:29 Attribution.txt [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 23:29 CHANGELOG.md [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 16 23:29 Dockerfile [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 23:29 GOVERNANCE.md [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 16 23:29 Jenkinsfile [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 23:29 LICENSE [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 16 23:29 Makefile [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 23:29 OWNERS.md [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 6144 Mar 16 23:29 README.md [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 23:29 VERSION [2023-03-16T23:31:18.545Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 23:29 bin [2023-03-16T23:31:18.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 23:29 cmd [2023-03-16T23:31:18.545Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 16 23:31 coverage.out [2023-03-16T23:31:18.545Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 23:29 doc [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 16 23:29 go.mod [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 16 23:29 go.sum [2023-03-16T23:31:18.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:29 internal [2023-03-16T23:31:18.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:29 snap [2023-03-16T23:31:18.545Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 23:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:31:18.935Z] + 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=c34dc95701eede0a3414156c22f92b1523ce1528 --label arch=amd64 --label version=0.0.0 . [2023-03-16T23:31:18.935Z] Sending build context to Docker daemon 28.04MB [2023-03-16T23:31:18.935Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-16T23:31:18.935Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-16T23:31:18.935Z] ---> d3d4de36f79a [2023-03-16T23:31:18.935Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:31:19.193Z] ---> Running in 24613bde9194 [2023-03-16T23:31:19.450Z] Removing intermediate container 24613bde9194 [2023-03-16T23:31:19.450Z] ---> 6619c7880f68 [2023-03-16T23:31:19.450Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:31:19.450Z] ---> Running in 833d0979902d [2023-03-16T23:31:19.450Z] Removing intermediate container 833d0979902d [2023-03-16T23:31:19.450Z] ---> a2f4e1e8cc58 [2023-03-16T23:31:19.450Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-16T23:31:19.450Z] ---> Running in 05f275645769 [2023-03-16T23:31:19.450Z] Removing intermediate container 05f275645769 [2023-03-16T23:31:19.450Z] ---> 5cab3579a00d [2023-03-16T23:31:19.450Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:31:19.450Z] ---> Running in 8a6b16231a8d [2023-03-16T23:31:19.707Z] Removing intermediate container 8a6b16231a8d [2023-03-16T23:31:19.707Z] ---> 91693d231495 [2023-03-16T23:31:19.707Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-16T23:31:19.707Z] ---> Running in b0b23bc1832e [2023-03-16T23:31:19.707Z] Removing intermediate container b0b23bc1832e [2023-03-16T23:31:19.707Z] ---> 997af4fbdd34 [2023-03-16T23:31:19.707Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:31:19.707Z] ---> Running in f8a01b65d7cd [2023-03-16T23:31:19.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T23:31:20.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-16T23:31:20.486Z] OK: 211 MiB in 51 packages [2023-03-16T23:31:20.746Z] Removing intermediate container f8a01b65d7cd [2023-03-16T23:31:20.746Z] ---> 292630f069b1 [2023-03-16T23:31:20.746Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-16T23:31:20.746Z] ---> Running in 662ed9349ce6 [2023-03-16T23:31:20.746Z] Removing intermediate container 662ed9349ce6 [2023-03-16T23:31:20.746Z] ---> 9ded2bbac9d3 [2023-03-16T23:31:20.746Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-16T23:31:21.004Z] ---> f8d5b645c5e5 [2023-03-16T23:31:21.005Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:31:21.005Z] ---> Running in d643700f94fe [2023-03-16T23:31:21.571Z] Removing intermediate container d643700f94fe [2023-03-16T23:31:21.571Z] ---> c3d2d8e6af13 [2023-03-16T23:31:21.571Z] Step 12/26 : COPY . . [2023-03-16T23:31:22.505Z] ---> efe3eb660c7f [2023-03-16T23:31:22.506Z] Step 13/26 : RUN ${MAKE} [2023-03-16T23:31:22.506Z] ---> Running in ee0f069722ec [2023-03-16T23:31:22.506Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-16T23:31:44.429Z] Removing intermediate container ee0f069722ec [2023-03-16T23:31:44.429Z] ---> d78e6972fd48 [2023-03-16T23:31:44.429Z] Step 14/26 : FROM alpine:3.16 [2023-03-16T23:31:44.995Z] 3.16: Pulling from library/alpine [2023-03-16T23:31:44.995Z] ef5531b6e74e: Pulling fs layer [2023-03-16T23:31:45.254Z] ef5531b6e74e: Download complete [2023-03-16T23:31:45.254Z] ef5531b6e74e: Pull complete [2023-03-16T23:31:45.254Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-16T23:31:45.254Z] Status: Downloaded newer image for alpine:3.16 [2023-03-16T23:31:45.254Z] ---> dfd21b5a31f5 [2023-03-16T23:31:45.254Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-16T23:31:45.254Z] ---> Running in 22834f379d5e [2023-03-16T23:31:45.513Z] Removing intermediate container 22834f379d5e [2023-03-16T23:31:45.513Z] ---> 42f448effce3 [2023-03-16T23:31:45.513Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-16T23:31:45.513Z] ---> Running in ee50653d1d1c [2023-03-16T23:31:45.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T23:31:45.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-16T23:31:46.339Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-16T23:31:46.339Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-16T23:31:46.339Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-16T23:31:46.339Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-16T23:31:46.339Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-16T23:31:46.339Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-16T23:31:46.598Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T23:31:46.598Z] OK: 8 MiB in 20 packages [2023-03-16T23:31:46.856Z] Removing intermediate container ee50653d1d1c [2023-03-16T23:31:46.856Z] ---> 749072e9b862 [2023-03-16T23:31:46.856Z] Step 17/26 : WORKDIR / [2023-03-16T23:31:46.856Z] ---> Running in 79caab32ccc9 [2023-03-16T23:31:47.117Z] Removing intermediate container 79caab32ccc9 [2023-03-16T23:31:47.117Z] ---> 252160bdf870 [2023-03-16T23:31:47.117Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-16T23:31:47.685Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2546 in /w/workspace/undry_device-onvif-camera_PR-272 [2023-03-16T23:31:47.685Z] ---> 041ff87093a7 [2023-03-16T23:31:47.685Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [Pipeline] { [Pipeline] ws [2023-03-16T23:31:47.760Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-16T23:31:47.833Z] The recommended git tool is: git [2023-03-16T23:31:47.945Z] ---> 591e28938cc2 [2023-03-16T23:31:47.945Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-16T23:31:47.945Z] ---> 21a5792cfc29 [2023-03-16T23:31:47.945Z] Step 21/26 : EXPOSE 59984 [2023-03-16T23:31:47.945Z] ---> Running in 2ee4ed387fe1 [2023-03-16T23:31:47.945Z] Removing intermediate container 2ee4ed387fe1 [2023-03-16T23:31:47.945Z] ---> 9ed56438b360 [2023-03-16T23:31:47.945Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-16T23:31:47.945Z] ---> Running in a21a8d6827cb [2023-03-16T23:31:48.207Z] Removing intermediate container a21a8d6827cb [2023-03-16T23:31:48.207Z] ---> 7fd53f798aa1 [2023-03-16T23:31:48.207Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-16T23:31:48.207Z] ---> Running in 0a85f216094f [2023-03-16T23:31:48.207Z] Removing intermediate container 0a85f216094f [2023-03-16T23:31:48.207Z] ---> 61fafcbefb94 [2023-03-16T23:31:48.207Z] Step 24/26 : LABEL arch=amd64 [2023-03-16T23:31:48.207Z] ---> Running in 60aeb83c197e [2023-03-16T23:31:48.207Z] Removing intermediate container 60aeb83c197e [2023-03-16T23:31:48.207Z] ---> ae88d4a6b951 [2023-03-16T23:31:48.207Z] Step 25/26 : LABEL git_sha=c34dc95701eede0a3414156c22f92b1523ce1528 [2023-03-16T23:31:48.207Z] ---> Running in d13da76624b8 [2023-03-16T23:31:48.466Z] Removing intermediate container d13da76624b8 [2023-03-16T23:31:48.466Z] ---> f12af2998ed1 [2023-03-16T23:31:48.466Z] Step 26/26 : LABEL version=0.0.0 [2023-03-16T23:31:48.466Z] ---> Running in 66a2bcf7d802 [2023-03-16T23:31:48.466Z] Removing intermediate container 66a2bcf7d802 [2023-03-16T23:31:48.466Z] ---> feabd090d563 [2023-03-16T23:31:48.466Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T23:31:48.466Z] Successfully built feabd090d563 [2023-03-16T23:31:48.466Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:31:49.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:31:49.342Z] [2023-03-16T23:31:49.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:31:49.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:31:49.719Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T23:31:49.719Z] 5eb5b503b376: Pulling fs layer [2023-03-16T23:31:49.719Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T23:31:49.719Z] ec43610c2a17: Pulling fs layer [2023-03-16T23:31:49.719Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T23:31:49.719Z] 33b1e0a273af: Pulling fs layer [2023-03-16T23:31:49.719Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T23:31:49.719Z] 2f39f015ded8: Pulling fs layer [2023-03-16T23:31:49.719Z] 3a2ae6a8a46f: Waiting [2023-03-16T23:31:49.719Z] 5d3b04190fa2: Waiting [2023-03-16T23:31:49.719Z] 33b1e0a273af: Waiting [2023-03-16T23:31:49.719Z] 2f39f015ded8: Waiting [2023-03-16T23:31:49.719Z] 5c69ac0246d0: Download complete [2023-03-16T23:31:49.719Z] 3a2ae6a8a46f: Download complete [2023-03-16T23:31:49.981Z] 33b1e0a273af: Verifying Checksum [2023-03-16T23:31:49.981Z] 33b1e0a273af: Download complete [2023-03-16T23:31:49.981Z] ec43610c2a17: Verifying Checksum [2023-03-16T23:31:49.981Z] ec43610c2a17: Download complete [2023-03-16T23:31:49.981Z] 5d3b04190fa2: Download complete [2023-03-16T23:31:49.981Z] 5eb5b503b376: Verifying Checksum [2023-03-16T23:31:49.981Z] 5eb5b503b376: Download complete [2023-03-16T23:31:50.548Z] 2f39f015ded8: Verifying Checksum [2023-03-16T23:31:50.548Z] 2f39f015ded8: Download complete [2023-03-16T23:31:51.115Z] 5eb5b503b376: Pull complete [2023-03-16T23:31:51.372Z] 5c69ac0246d0: Pull complete [2023-03-16T23:31:51.630Z] ec43610c2a17: Pull complete [2023-03-16T23:31:51.886Z] 3a2ae6a8a46f: Pull complete [2023-03-16T23:31:51.886Z] 33b1e0a273af: Pull complete [2023-03-16T23:31:52.144Z] 5d3b04190fa2: Pull complete [2023-03-16T23:31:52.983Z] using credential edgex-jenkins-ssh [2023-03-16T23:31:53.002Z] Cloning the remote Git repository [2023-03-16T23:31:53.044Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T23:31:53.146Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-16T23:31:53.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T23:31:53.320Z] > git --version # timeout=10 [2023-03-16T23:31:53.343Z] > git --version # 'git version 2.25.1' [2023-03-16T23:31:53.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T23:31:53.521Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T23:31:54.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T23:31:54.971Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T23:31:56.321Z] 2f39f015ded8: Pull complete [2023-03-16T23:31:56.321Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T23:31:56.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:31:56.321Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:31:56.513Z] Merging remotes/origin/levski commit 0c6690d512fca69ab8f13dc5deb436fc09094519 into PR head commit c34dc95701eede0a3414156c22f92b1523ce1528 [2023-03-16T23:31:56.532Z] prd-ubuntu20.04-docker-8c-8g-2543 does not seem to be running inside a container [2023-03-16T23:31:56.565Z] $ 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-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T23:31:55.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T23:31:55.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T23:31:55.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T23:31:55.897Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-16T23:31:56.528Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T23:31:56.607Z] > git checkout -f c34dc95701eede0a3414156c22f92b1523ce1528 # timeout=10 [2023-03-16T23:31:57.016Z] Merge succeeded, producing c34dc95701eede0a3414156c22f92b1523ce1528 [2023-03-16T23:31:57.017Z] Checking out Revision c34dc95701eede0a3414156c22f92b1523ce1528 (PR-272) [2023-03-16T23:31:56.896Z] > git remote # timeout=10 [2023-03-16T23:31:56.916Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T23:31:56.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T23:31:56.959Z] > git merge 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 [2023-03-16T23:31:56.991Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T23:31:57.019Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T23:31:57.036Z] > git checkout -f c34dc95701eede0a3414156c22f92b1523ce1528 # timeout=10 [2023-03-16T23:31:59.228Z] $ docker top 8a2b03f3ca7a376b4d9d6832e20a4530296db25076bb15f1db71732d8935646c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:31:59.648Z] ---> job-cost.sh [2023-03-16T23:31:59.648Z] lf-activate-venv: SKIPPING [2023-03-16T23:31:59.648Z] INFO: No Stack... [2023-03-16T23:32:00.215Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T23:32:00.478Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T23:32:00.790Z] + cat /w/workspace/undry_device-onvif-camera_PR-272/archives/cost.csv [2023-03-16T23:32:00.790Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T23:32:00.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-272-1-stack-cost] [2023-03-16T23:32:00.838Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-1-stack-cost] did not exist. Created. [2023-03-16T23:32:00.838Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-272-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-03-16T23:32:00.917Z] Commit message: "docs: change location of nats documentation (#237)" [Pipeline] sh [2023-03-16T23:32:00.969Z] > git --version # timeout=10 [2023-03-16T23:32:00.981Z] > git --version # 'git version 2.25.1' [2023-03-16T23:32:00.993Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T23:32:01.221Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T23:32:01.275Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T23:32:01.307Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T23:32:01.393Z] $ docker stop --time=1 8a2b03f3ca7a376b4d9d6832e20a4530296db25076bb15f1db71732d8935646c [2023-03-16T23:32:01.406Z] [2023-03-16T23:32:01.406Z] GitHub has been notified of this commit’s build result [2023-03-16T23:32:01.406Z] [2023-03-16T23:32:02.552Z] $ docker rm -f --volumes 8a2b03f3ca7a376b4d9d6832e20a4530296db25076bb15f1db71732d8935646c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T23:32:03.445Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T23:32:03.445Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T23:32:03.445Z] Dload Upload Total Spent Left Speed [2023-03-16T23:32:03.445Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh [2023-03-16T23:32:04.141Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T23:32:04.488Z] + sudo tee /etc/docker/daemon.new [2023-03-16T23:32:04.488Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T23:32:04.488Z] { [2023-03-16T23:32:04.488Z] "registry-mirrors": [ [2023-03-16T23:32:04.488Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T23:32:04.488Z] ], [2023-03-16T23:32:04.488Z] "bip": "10.250.0.254/24", [2023-03-16T23:32:04.488Z] "hosts": [ [2023-03-16T23:32:04.488Z] "tcp://0.0.0.0:5555", [2023-03-16T23:32:04.488Z] "unix:///var/run/docker.sock" [2023-03-16T23:32:04.488Z] ], [2023-03-16T23:32:04.488Z] "mtu": 1458, [2023-03-16T23:32:04.488Z] "selinux-enabled": true, [2023-03-16T23:32:04.488Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T23:32:04.488Z] } [Pipeline] sh [2023-03-16T23:32:04.841Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T23:32:05.188Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:32:23.490Z] provisioning config files... [2023-03-16T23:32:23.516Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config18201886982295893801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:32:23.900Z] ---> docker-login.sh [2023-03-16T23:32:23.900Z] nexus3.edgexfoundry.org:10001 [2023-03-16T23:32:24.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:32:24.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:32:24.438Z] Configure a credential helper to remove this warning. See [2023-03-16T23:32:24.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:32:24.438Z] [2023-03-16T23:32:24.438Z] Login Succeeded [2023-03-16T23:32:24.438Z] nexus3.edgexfoundry.org:10002 [2023-03-16T23:32:24.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:32:24.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:32:24.978Z] Configure a credential helper to remove this warning. See [2023-03-16T23:32:24.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:32:24.978Z] [2023-03-16T23:32:24.978Z] Login Succeeded [2023-03-16T23:32:24.978Z] nexus3.edgexfoundry.org:10003 [2023-03-16T23:32:24.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:32:25.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:32:25.247Z] Configure a credential helper to remove this warning. See [2023-03-16T23:32:25.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:32:25.247Z] [2023-03-16T23:32:25.247Z] Login Succeeded [2023-03-16T23:32:25.247Z] nexus3.edgexfoundry.org:10004 [2023-03-16T23:32:25.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:32:25.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:32:25.518Z] Configure a credential helper to remove this warning. See [2023-03-16T23:32:25.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:32:25.518Z] [2023-03-16T23:32:25.518Z] Login Succeeded [2023-03-16T23:32:25.518Z] docker.io [2023-03-16T23:32:25.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:32:26.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:32:26.053Z] Configure a credential helper to remove this warning. See [2023-03-16T23:32:26.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:32:26.054Z] [2023-03-16T23:32:26.054Z] Login Succeeded [2023-03-16T23:32:26.054Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T23:32:26.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T23:32:26.448Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:32:26.486Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:32:26.520Z] ========================================================= [2023-03-16T23:32:26.520Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-16T23:32:26.520Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:32:27.017Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T23:32:27.604Z] Sending build context to Docker daemon 20.71MB [2023-03-16T23:32:27.604Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-16T23:32:27.604Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T23:32:27.876Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T23:32:27.876Z] 9b18e9b68314: Pulling fs layer [2023-03-16T23:32:27.876Z] 35d82f9e3411: Pulling fs layer [2023-03-16T23:32:27.876Z] e16973657156: Pulling fs layer [2023-03-16T23:32:27.876Z] fc693d55d65f: Pulling fs layer [2023-03-16T23:32:27.876Z] 7e9fc2657dce: Pulling fs layer [2023-03-16T23:32:27.876Z] dda99020689f: Pulling fs layer [2023-03-16T23:32:27.876Z] db1c61fa0a46: Pulling fs layer [2023-03-16T23:32:27.876Z] 891c053d2c06: Pulling fs layer [2023-03-16T23:32:27.876Z] fc693d55d65f: Waiting [2023-03-16T23:32:27.876Z] 7e9fc2657dce: Waiting [2023-03-16T23:32:27.876Z] dda99020689f: Waiting [2023-03-16T23:32:27.876Z] db1c61fa0a46: Waiting [2023-03-16T23:32:27.876Z] 891c053d2c06: Waiting [2023-03-16T23:32:27.876Z] e16973657156: Verifying Checksum [2023-03-16T23:32:27.876Z] e16973657156: Download complete [2023-03-16T23:32:27.876Z] 35d82f9e3411: Verifying Checksum [2023-03-16T23:32:27.876Z] 35d82f9e3411: Download complete [2023-03-16T23:32:27.876Z] 7e9fc2657dce: Verifying Checksum [2023-03-16T23:32:27.876Z] 7e9fc2657dce: Download complete [2023-03-16T23:32:27.876Z] 9b18e9b68314: Verifying Checksum [2023-03-16T23:32:27.876Z] 9b18e9b68314: Download complete [2023-03-16T23:32:27.876Z] dda99020689f: Verifying Checksum [2023-03-16T23:32:27.876Z] dda99020689f: Download complete [2023-03-16T23:32:28.850Z] 9b18e9b68314: Pull complete [2023-03-16T23:32:29.125Z] 891c053d2c06: Verifying Checksum [2023-03-16T23:32:29.125Z] 891c053d2c06: Download complete [2023-03-16T23:32:29.714Z] 35d82f9e3411: Pull complete [2023-03-16T23:32:29.984Z] e16973657156: Pull complete [2023-03-16T23:32:30.576Z] db1c61fa0a46: Verifying Checksum [2023-03-16T23:32:31.161Z] fc693d55d65f: Download complete [2023-03-16T23:32:43.473Z] fc693d55d65f: Pull complete [2023-03-16T23:32:43.473Z] 7e9fc2657dce: Pull complete [2023-03-16T23:32:43.473Z] dda99020689f: Pull complete [2023-03-16T23:32:48.817Z] db1c61fa0a46: Pull complete [2023-03-16T23:32:50.790Z] 891c053d2c06: Pull complete [2023-03-16T23:32:50.790Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-16T23:32:50.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-16T23:32:50.790Z] ---> f96f9c87975a [2023-03-16T23:32:50.790Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:32:52.738Z] ---> Running in fde1666c1a4e [2023-03-16T23:32:52.738Z] Removing intermediate container fde1666c1a4e [2023-03-16T23:32:52.738Z] ---> 3be9c6721d13 [2023-03-16T23:32:52.738Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:32:52.738Z] ---> Running in 3df45b16af09 [2023-03-16T23:32:53.006Z] Removing intermediate container 3df45b16af09 [2023-03-16T23:32:53.006Z] ---> 7e7beacae95f [2023-03-16T23:32:53.006Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-16T23:32:53.006Z] ---> Running in b4d669e0811f [2023-03-16T23:32:53.273Z] Removing intermediate container b4d669e0811f [2023-03-16T23:32:53.273Z] ---> c69795504739 [2023-03-16T23:32:53.273Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:32:53.543Z] ---> Running in a899c6decd07 [2023-03-16T23:32:53.810Z] Removing intermediate container a899c6decd07 [2023-03-16T23:32:53.810Z] ---> f4616e959ae5 [2023-03-16T23:32:53.810Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T23:32:53.810Z] ---> Running in 5d7d6b049e09 [2023-03-16T23:32:54.078Z] Removing intermediate container 5d7d6b049e09 [2023-03-16T23:32:54.078Z] ---> 8cde058eebba [2023-03-16T23:32:54.078Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:32:54.078Z] ---> Running in bcd5b8dcffc7 [2023-03-16T23:32:55.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T23:32:55.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-16T23:32:56.590Z] OK: 221 MiB in 51 packages [2023-03-16T23:32:57.172Z] Removing intermediate container bcd5b8dcffc7 [2023-03-16T23:32:57.172Z] ---> e2c0751292e3 [2023-03-16T23:32:57.172Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T23:32:57.172Z] ---> Running in 527777e88c29 [2023-03-16T23:32:57.440Z] Removing intermediate container 527777e88c29 [2023-03-16T23:32:57.440Z] ---> 05e265bf7245 [2023-03-16T23:32:57.440Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T23:32:58.022Z] ---> 6588e2812f38 [2023-03-16T23:32:58.022Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:32:58.022Z] ---> Running in 9bd0ceda5752 [2023-03-16T23:33:54.427Z] Removing intermediate container 9bd0ceda5752 [2023-03-16T23:33:54.427Z] ---> ec4d1fcb1a3d [2023-03-16T23:33:54.427Z] Step 12/13 : COPY . . [2023-03-16T23:33:54.692Z] ---> a582f4441eee [2023-03-16T23:33:54.692Z] Step 13/13 : RUN ${MAKE} [2023-03-16T23:33:54.692Z] ---> Running in fa2f42d9e7dd [2023-03-16T23:33:55.654Z] noop [2023-03-16T23:33:56.238Z] Removing intermediate container fa2f42d9e7dd [2023-03-16T23:33:56.238Z] ---> 873ab0b72826 [2023-03-16T23:33:56.238Z] Successfully built 873ab0b72826 [2023-03-16T23:33:56.238Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:33:56.969Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T23:33:56.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:33:57.227Z] prd-ubuntu20.04-docker-arm64-4c-16g-2546 does not seem to be running inside a container [2023-03-16T23:33:57.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T23:33:58.374Z] $ docker top 7b9e0478f1906adf649fb822fe5e9fc1640d10210097d1db39d7886f9ef9746f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:33:59.234Z] + go version [2023-03-16T23:33:59.234Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-16T23:33:59.269Z] $ docker stop --time=1 7b9e0478f1906adf649fb822fe5e9fc1640d10210097d1db39d7886f9ef9746f [2023-03-16T23:34:00.902Z] $ docker rm -f --volumes 7b9e0478f1906adf649fb822fe5e9fc1640d10210097d1db39d7886f9ef9746f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:34:01.746Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T23:34:01.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:34:01.981Z] prd-ubuntu20.04-docker-arm64-4c-16g-2546 does not seem to be running inside a container [2023-03-16T23:34:02.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T23:34:03.114Z] $ docker top d7f0b864f626b6deacf633c60e41cc85b5ea9d93eb203499f477e7d69f9690d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:34:03.636Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-16T23:34:04.018Z] + make test [2023-03-16T23:34:04.018Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-16T23:34:05.984Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T23:35:42.621Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-16T23:35:42.621Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.194s coverage: 29.3% of statements [2023-03-16T23:35:42.621Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T23:36:00.490Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.235s coverage: 86.5% of statements [2023-03-16T23:36:00.758Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T23:36:00.758Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-16T23:36:32.987Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T23:36:32.987Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T23:36:32.987Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T23:36:33.022Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T23:36:33.051Z] $ docker stop --time=1 d7f0b864f626b6deacf633c60e41cc85b5ea9d93eb203499f477e7d69f9690d0 [2023-03-16T23:36:34.945Z] $ docker rm -f --volumes d7f0b864f626b6deacf633c60e41cc85b5ea9d93eb203499f477e7d69f9690d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T23:36:35.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T23:36:35.977Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T23:36:36.886Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T23:36:37.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T23:36:37.864Z] + ls -al . [2023-03-16T23:36:37.864Z] total 244 [2023-03-16T23:36:37.864Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 23:34 . [2023-03-16T23:36:37.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:31 .. [2023-03-16T23:36:37.864Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 23:31 .git [2023-03-16T23:36:37.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 23:31 .github [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 23:31 .gitignore [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 23:31 .golangci.yml [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 16 23:31 Attribution.txt [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 23:31 CHANGELOG.md [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 16 23:31 Dockerfile [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 23:31 GOVERNANCE.md [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 16 23:31 Jenkinsfile [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 23:31 LICENSE [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 16 23:31 Makefile [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 23:31 OWNERS.md [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 6144 Mar 16 23:31 README.md [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 23:29 VERSION [2023-03-16T23:36:37.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 23:31 bin [2023-03-16T23:36:37.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 23:31 cmd [2023-03-16T23:36:37.864Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 16 23:35 coverage.out [2023-03-16T23:36:37.864Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 23:31 doc [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 16 23:31 go.mod [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 16 23:31 go.sum [2023-03-16T23:36:37.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:31 internal [2023-03-16T23:36:37.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:31 snap [2023-03-16T23:36:37.864Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 23:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:36:38.391Z] + 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=c34dc95701eede0a3414156c22f92b1523ce1528 --label arch=arm64 --label version=0.0.0 . [2023-03-16T23:36:40.358Z] Sending build context to Docker daemon 20.79MB [2023-03-16T23:36:40.358Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-16T23:36:40.358Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-16T23:36:40.358Z] ---> 873ab0b72826 [2023-03-16T23:36:40.358Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:36:40.358Z] ---> Running in c014adf2daa8 [2023-03-16T23:36:40.358Z] Removing intermediate container c014adf2daa8 [2023-03-16T23:36:40.358Z] ---> 8075ebc55f9b [2023-03-16T23:36:40.358Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:36:40.624Z] ---> Running in 9272d31e02d3 [2023-03-16T23:36:40.891Z] Removing intermediate container 9272d31e02d3 [2023-03-16T23:36:40.891Z] ---> 5d69a051c469 [2023-03-16T23:36:40.891Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-16T23:36:40.891Z] ---> Running in 77aa3d8172cd [2023-03-16T23:36:41.157Z] Removing intermediate container 77aa3d8172cd [2023-03-16T23:36:41.157Z] ---> 1b5f259306f2 [2023-03-16T23:36:41.157Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:36:41.157Z] ---> Running in 5df351d4f0aa [2023-03-16T23:36:41.424Z] Removing intermediate container 5df351d4f0aa [2023-03-16T23:36:41.424Z] ---> a0d8884e3d59 [2023-03-16T23:36:41.424Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-16T23:36:41.692Z] ---> Running in f7e587396839 [2023-03-16T23:36:41.959Z] Removing intermediate container f7e587396839 [2023-03-16T23:36:41.959Z] ---> 22beecf641b5 [2023-03-16T23:36:41.959Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:36:41.959Z] ---> Running in b034d6b6efe8 [2023-03-16T23:36:42.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T23:36:43.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-16T23:36:44.146Z] OK: 221 MiB in 51 packages [2023-03-16T23:36:45.107Z] Removing intermediate container b034d6b6efe8 [2023-03-16T23:36:45.107Z] ---> f67c46557e6a [2023-03-16T23:36:45.107Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-16T23:36:45.107Z] ---> Running in bb424fbf401e [2023-03-16T23:36:45.696Z] Removing intermediate container bb424fbf401e [2023-03-16T23:36:45.696Z] ---> 6a545701bb97 [2023-03-16T23:36:45.696Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-16T23:36:47.116Z] ---> 7730fc1d4fac [2023-03-16T23:36:47.116Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:36:47.116Z] ---> Running in 1288a5e57cde [2023-03-16T23:36:49.705Z] Removing intermediate container 1288a5e57cde [2023-03-16T23:36:49.705Z] ---> 30e1daeb19e2 [2023-03-16T23:36:49.705Z] Step 12/26 : COPY . . [2023-03-16T23:36:51.120Z] ---> b4039f82f2a2 [2023-03-16T23:36:51.120Z] Step 13/26 : RUN ${MAKE} [2023-03-16T23:36:51.120Z] ---> Running in f51be199af8d [2023-03-16T23:36:52.076Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-16T23:39:13.775Z] Removing intermediate container f51be199af8d [2023-03-16T23:39:13.775Z] ---> 8a6ae26cd9ae [2023-03-16T23:39:13.775Z] Step 14/26 : FROM alpine:3.16 [2023-03-16T23:39:13.775Z] 3.16: Pulling from library/alpine [2023-03-16T23:39:13.775Z] 3760b48202b3: Pulling fs layer [2023-03-16T23:39:13.775Z] 3760b48202b3: Verifying Checksum [2023-03-16T23:39:13.775Z] 3760b48202b3: Download complete [2023-03-16T23:39:14.041Z] 3760b48202b3: Pull complete [2023-03-16T23:39:14.041Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-16T23:39:14.041Z] Status: Downloaded newer image for alpine:3.16 [2023-03-16T23:39:14.041Z] ---> 4c81e5bf8899 [2023-03-16T23:39:14.041Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-16T23:39:14.315Z] ---> Running in caeba64ef81f [2023-03-16T23:39:14.581Z] Removing intermediate container caeba64ef81f [2023-03-16T23:39:14.581Z] ---> d628a7d7fae9 [2023-03-16T23:39:14.581Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-16T23:39:14.581Z] ---> Running in 3fbde122b20f [2023-03-16T23:39:15.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T23:39:15.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-16T23:39:16.763Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-16T23:39:16.763Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-16T23:39:16.763Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-16T23:39:16.763Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-16T23:39:16.763Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-16T23:39:16.763Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-16T23:39:16.763Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T23:39:17.031Z] OK: 8 MiB in 20 packages [2023-03-16T23:39:18.002Z] Removing intermediate container 3fbde122b20f [2023-03-16T23:39:18.002Z] ---> 866430661297 [2023-03-16T23:39:18.002Z] Step 17/26 : WORKDIR / [2023-03-16T23:39:18.002Z] ---> Running in bdeb4ad63abe [2023-03-16T23:39:18.002Z] Removing intermediate container bdeb4ad63abe [2023-03-16T23:39:18.002Z] ---> 15e9ec249530 [2023-03-16T23:39:18.002Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-16T23:39:19.408Z] ---> d5f64517ff56 [2023-03-16T23:39:19.408Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-16T23:39:19.988Z] ---> 16a65e9aa234 [2023-03-16T23:39:19.988Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-16T23:39:20.573Z] ---> 35f86d14077c [2023-03-16T23:39:20.573Z] Step 21/26 : EXPOSE 59984 [2023-03-16T23:39:20.573Z] ---> Running in 93f02b272354 [2023-03-16T23:39:20.842Z] Removing intermediate container 93f02b272354 [2023-03-16T23:39:20.842Z] ---> c6ee2b248571 [2023-03-16T23:39:20.842Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-16T23:39:20.842Z] ---> Running in e74471b384f1 [2023-03-16T23:39:21.108Z] Removing intermediate container e74471b384f1 [2023-03-16T23:39:21.108Z] ---> 98c653c513e1 [2023-03-16T23:39:21.108Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-16T23:39:21.108Z] ---> Running in a137fc6ef741 [2023-03-16T23:39:21.373Z] Removing intermediate container a137fc6ef741 [2023-03-16T23:39:21.373Z] ---> d8693bab4563 [2023-03-16T23:39:21.373Z] Step 24/26 : LABEL arch=arm64 [2023-03-16T23:39:21.373Z] ---> Running in 43cfac4150da [2023-03-16T23:39:21.641Z] Removing intermediate container 43cfac4150da [2023-03-16T23:39:21.641Z] ---> 2da7db81e5bd [2023-03-16T23:39:21.641Z] Step 25/26 : LABEL git_sha=c34dc95701eede0a3414156c22f92b1523ce1528 [2023-03-16T23:39:21.906Z] ---> Running in e745f39e7056 [2023-03-16T23:39:22.179Z] Removing intermediate container e745f39e7056 [2023-03-16T23:39:22.179Z] ---> c4bf288b53a0 [2023-03-16T23:39:22.179Z] Step 26/26 : LABEL version=0.0.0 [2023-03-16T23:39:22.179Z] ---> Running in 742d5c20822f [2023-03-16T23:39:22.443Z] Removing intermediate container 742d5c20822f [2023-03-16T23:39:22.443Z] ---> f022e8932d27 [2023-03-16T23:39:22.443Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T23:39:22.443Z] Successfully built f022e8932d27 [2023-03-16T23:39:22.443Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:39:23.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T23:39:23.225Z] [2023-03-16T23:39:23.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:39:23.635Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T23:39:23.635Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T23:39:23.635Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T23:39:23.635Z] 04944245beec: Pulling fs layer [2023-03-16T23:39:23.635Z] 699f458cf7ca: Pulling fs layer [2023-03-16T23:39:23.635Z] 765212b225bb: Pulling fs layer [2023-03-16T23:39:23.635Z] 765212b225bb: Waiting [2023-03-16T23:39:23.636Z] f23df028b6ca: Pulling fs layer [2023-03-16T23:39:23.636Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T23:39:23.636Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T23:39:23.636Z] f23df028b6ca: Waiting [2023-03-16T23:39:23.636Z] 2437ff75d9bd: Waiting [2023-03-16T23:39:23.636Z] d65c8cfc05b1: Waiting [2023-03-16T23:39:23.902Z] 04944245beec: Verifying Checksum [2023-03-16T23:39:23.902Z] 04944245beec: Download complete [2023-03-16T23:39:23.902Z] 765212b225bb: Verifying Checksum [2023-03-16T23:39:23.902Z] 765212b225bb: Download complete [2023-03-16T23:39:23.902Z] f23df028b6ca: Verifying Checksum [2023-03-16T23:39:23.902Z] f23df028b6ca: Download complete [2023-03-16T23:39:23.902Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T23:39:23.902Z] d65c8cfc05b1: Download complete [2023-03-16T23:39:23.902Z] 699f458cf7ca: Verifying Checksum [2023-03-16T23:39:23.902Z] 699f458cf7ca: Download complete [2023-03-16T23:39:24.488Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T23:39:24.488Z] 8998bd30e6a1: Download complete [2023-03-16T23:39:26.436Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T23:39:26.436Z] 2437ff75d9bd: Download complete [2023-03-16T23:39:28.377Z] 8998bd30e6a1: Pull complete [2023-03-16T23:39:28.644Z] 04944245beec: Pull complete [2023-03-16T23:39:30.054Z] 699f458cf7ca: Pull complete [2023-03-16T23:39:30.321Z] 765212b225bb: Pull complete [2023-03-16T23:39:30.904Z] f23df028b6ca: Pull complete [2023-03-16T23:39:31.170Z] d65c8cfc05b1: Pull complete [2023-03-16T23:39:46.159Z] 2437ff75d9bd: Pull complete [2023-03-16T23:39:46.159Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T23:39:46.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T23:39:46.159Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:39:46.499Z] prd-ubuntu20.04-docker-arm64-4c-16g-2546 does not seem to be running inside a container [2023-03-16T23:39:46.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T23:39:52.058Z] $ docker top d9267f6703f075688f65984b754c57c4f3773c0b45a818ba93a6edbc9f7f2621 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:39:52.638Z] ---> job-cost.sh [2023-03-16T23:39:52.904Z] lf-activate-venv: SKIPPING [2023-03-16T23:39:52.904Z] INFO: No Stack... [2023-03-16T23:39:53.171Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T23:39:54.129Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T23:39:54.781Z] + cut -d, -f6 [2023-03-16T23:39:54.781Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-03-16T23:39:54.864Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-272-1-stack-cost] [2023-03-16T23:39:54.869Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-1-stack-cost] did not exist. Created. [2023-03-16T23:39:54.869Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-272-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T23:39:55.583Z] /w/workspace/device-onvif-camera/1@tmp/durable-29b91d3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T23:39:56.244Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T23:39:56.282Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T23:39:56.339Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T23:39:56.354Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T23:39:56.427Z] $ docker stop --time=1 d9267f6703f075688f65984b754c57c4f3773c0b45a818ba93a6edbc9f7f2621 [2023-03-16T23:39:57.907Z] $ docker rm -f --volumes d9267f6703f075688f65984b754c57c4f3773c0b45a818ba93a6edbc9f7f2621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-16T23:39:58.828Z] provisioning config files... [2023-03-16T23:39:58.836Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config3949418415590626063tmp [Pipeline] { [Pipeline] sh [2023-03-16T23:39:59.165Z] + set +x [2023-03-16T23:39:59.165Z] + bash -s -- [2023-03-16T23:39:59.165Z] + curl -s https://codecov.io/bash [2023-03-16T23:39:59.165Z] [2023-03-16T23:39:59.165Z] _____ _ [2023-03-16T23:39:59.165Z] / ____| | | [2023-03-16T23:39:59.165Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T23:39:59.165Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T23:39:59.165Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T23:39:59.165Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T23:39:59.165Z] Bash-1.0.6 [2023-03-16T23:39:59.165Z] [2023-03-16T23:39:59.165Z] [2023-03-16T23:39:59.165Z] ==> git version 2.25.1 found [2023-03-16T23:39:59.165Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-16T23:39:59.165Z] Release-Date: 2020-01-08 [2023-03-16T23:39:59.165Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-16T23:39:59.165Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T23:39:59.165Z] ==> Jenkins CI detected. [2023-03-16T23:39:59.165Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-272 [2023-03-16T23:39:59.165Z] project root: . [2023-03-16T23:39:59.165Z] --> token set from env [2023-03-16T23:39:59.165Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T23:39:59.165Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T23:39:59.165Z] ==> Python coveragepy not found [2023-03-16T23:39:59.165Z] ==> Searching for coverage reports in: [2023-03-16T23:39:59.165Z] + . [2023-03-16T23:39:59.424Z] -> Found 1 reports [2023-03-16T23:39:59.424Z] ==> Detecting git/mercurial file structure [2023-03-16T23:39:59.424Z] ==> Reading reports [2023-03-16T23:39:59.424Z] + ./coverage.out bytes=79184 [2023-03-16T23:39:59.424Z] ==> Appending adjustments [2023-03-16T23:39:59.424Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T23:39:59.424Z] + Found adjustments [2023-03-16T23:39:59.424Z] ==> Gzipping contents [2023-03-16T23:39:59.424Z] 12K /tmp/codecov.50yumL.gz [2023-03-16T23:39:59.424Z] ==> Uploading reports [2023-03-16T23:39:59.424Z] url: https://codecov.io [2023-03-16T23:39:59.424Z] query: branch=PR-272&commit=c34dc95701eede0a3414156c22f92b1523ce1528&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-272%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-16T23:39:59.424Z] -> Pinging Codecov [2023-03-16T23:39:59.424Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-272&commit=c34dc95701eede0a3414156c22f92b1523ce1528&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-272%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-16T23:39:59.683Z] -> Uploading to [2023-03-16T23:39:59.683Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-16/F29A59C45E3A92E06B3E522C9905F8EF/c34dc95701eede0a3414156c22f92b1523ce1528/cfdc0a9a-aa54-486b-bb3a-fb6d7445db44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T233959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4b8976825bbe8891741dc398682314af1196f15db68394bcfd5ea4a8c1605a6 [2023-03-16T23:39:59.683Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T23:39:59.683Z] Dload Upload Total Spent Left Speed [2023-03-16T23:39:59.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10870 0 0 100 10870 0 44367 --:--:-- --:--:-- --:--:-- 44367 [2023-03-16T23:39:59.941Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c34dc95701eede0a3414156c22f92b1523ce1528 [Pipeline] } [2023-03-16T23:39:59.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-16T23:40:01.698Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-272/archives ] [2023-03-16T23:40:01.699Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-272/archives [2023-03-16T23:40:01.699Z] total 16 [2023-03-16T23:40:01.699Z] drwxr-xr-x 3 root root 4096 Mar 16 23:32 . [2023-03-16T23:40:01.699Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 23:32 .. [2023-03-16T23:40:01.699Z] drwxr-xr-x 2 root root 4096 Mar 16 23:32 cost [2023-03-16T23:40:01.699Z] -rw-r--r-- 1 root root 91 Mar 16 23:32 cost.csv [2023-03-16T23:40:01.699Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-272/archives [2023-03-16T23:40:01.699Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-272/archives [2023-03-16T23:40:01.699Z] total 16 [2023-03-16T23:40:01.699Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 23:32 . [2023-03-16T23:40:01.699Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 23:32 .. [2023-03-16T23:40:01.699Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 23:32 cost [2023-03-16T23:40:01.699Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 16 23:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:40:02.033Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:40:02.920Z] ---> package-listing.sh [2023-03-16T23:40:02.920Z] ++ facter osfamily [2023-03-16T23:40:02.920Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T23:40:03.179Z] + OS_FAMILY=debian [2023-03-16T23:40:03.179Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-272 [2023-03-16T23:40:03.179Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T23:40:03.179Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T23:40:03.179Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T23:40:03.179Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T23:40:03.179Z] + '[' /w/workspace/undry_device-onvif-camera_PR-272 ']' [2023-03-16T23:40:03.179Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T23:40:03.179Z] + case "${OS_FAMILY}" in [2023-03-16T23:40:03.179Z] + dpkg -l [2023-03-16T23:40:03.179Z] + grep '^ii' [2023-03-16T23:40:03.179Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T23:40:03.179Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T23:40:03.179Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T23:40:03.179Z] + '[' /w/workspace/undry_device-onvif-camera_PR-272 ']' [2023-03-16T23:40:03.179Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-272/archives/ [2023-03-16T23:40:03.179Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-272/archives/ [Pipeline] echo [2023-03-16T23:40:03.215Z] 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-272/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T23:40:03.500Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:40:04.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:40:04.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:40:04.253Z] prd-ubuntu20.04-docker-8c-8g-2543 does not seem to be running inside a container [2023-03-16T23:40:04.285Z] $ 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-272/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-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T23:40:04.701Z] $ docker top 933d983ebababffec29f788c7373cf1d2bb45afd5f35c939e95dd7e52ce559d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:40:05.082Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T23:40:05.391Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T23:40:05.693Z] + ls /var/log/sa-host [2023-03-16T23:40:05.693Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:40:05.901Z] provisioning config files... [2023-03-16T23:40:05.911Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config10036982017399674398tmp [Pipeline] { [Pipeline] echo [2023-03-16T23:40:05.959Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:40:06.266Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T23:40:06.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:40:06.714Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T23:40:06.747Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:40:07.054Z] ---> sudo-logs.sh [2023-03-16T23:40:07.054Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T23:40:07.139Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:40:07.456Z] ---> job-cost.sh [2023-03-16T23:40:07.456Z] lf-activate-venv: SKIPPING [2023-03-16T23:40:07.456Z] DEBUG: total: 0.2199999988079071 [2023-03-16T23:40:07.456Z] INFO: Retrieving Stack Cost... [2023-03-16T23:40:07.715Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T23:40:07.974Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T23:40:08.004Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:40:08.312Z] ---> logs-deploy.sh [2023-03-16T23:40:08.312Z] lf-activate-venv: SKIPPING [2023-03-16T23:40:08.312Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-272/1 [2023-03-16T23:40:08.312Z] INFO: archiving workspace using pattern(s): [2023-03-16T23:40:09.251Z] Archives upload complete. [2023-03-16T23:40:09.251Z] INFO: archiving logs to Nexus