Pull request #338 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd861e7e8395d453402c3398e8094ef5997626d0+a5100156d942d3e2ec7c51a96dce7156478cbb52 (daad371ceef2328e708052b014ed67cfc35ea62a) 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-ssh12555214866072283119.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4257080948379286752.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-338/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-338/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6983983440591692758.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-338/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11042467945882416225.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh8217463977887315556.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-338/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-338/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11051671466130325561.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12645’ Running on prd-ubuntu20.04-docker-8c-8g-12648 in /w/workspace/undry_device-onvif-camera_PR-338 [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-338 # 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 Merging remotes/origin/main commit a5100156d942d3e2ec7c51a96dce7156478cbb52 into PR head commit fd861e7e8395d453402c3398e8094ef5997626d0 Merge succeeded, producing fd861e7e8395d453402c3398e8094ef5997626d0 Checking out Revision fd861e7e8395d453402c3398e8094ef5997626d0 (PR-338) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > 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/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd861e7e8395d453402c3398e8094ef5997626d0 # 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 a5100156d942d3e2ec7c51a96dce7156478cbb52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd861e7e8395d453402c3398e8094ef5997626d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-03T23:42:02.362Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-03T23:42:02.544Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-03T23:42:02.650Z] ========================================================= [2023-05-03T23:42:02.650Z] EdgeX Global Pipelines Version Info [2023-05-03T23:42:02.650Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:42:03.400Z] ------------------- [2023-05-03T23:42:03.400Z] stable info: [2023-05-03T23:42:03.400Z] ------------------- [2023-05-03T23:42:03.400Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-03T23:42:03.400Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-03T23:42:03.400Z] Message: update stable to v1.0.248 [2023-05-03T23:42:03.973Z] ------------------- [2023-05-03T23:42:03.973Z] experimental info: [2023-05-03T23:42:03.973Z] ------------------- [2023-05-03T23:42:03.973Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-03T23:42:03.973Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-03T23:42:03.973Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-03T23:42:04.271Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-03T23:42:04.308Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-03T23:42:04.348Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-03T23:42:04.395Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-03T23:42:04.438Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-03T23:42:04.480Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-03T23:42:04.521Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-03T23:42:04.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-03T23:42:04.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-03T23:42:04.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-03T23:42:04.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-03T23:42:04.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-03T23:42:04.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-03T23:42:04.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-03T23:42:04.860Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T23:42:04.899Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T23:42:04.944Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T23:42:04.988Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T23:42:05.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-03T23:42:05.069Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-03T23:42:05.110Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-03T23:42:05.156Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-05-03T23:42:05.192Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-03T23:42:05.234Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-03T23:42:05.275Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-03T23:42:05.316Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-03T23:42:05.354Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-03T23:42:05.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-338 [Pipeline] echo [2023-05-03T23:42:05.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-338 [Pipeline] echo [2023-05-03T23:42:05.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-338 [Pipeline] echo [2023-05-03T23:42:05.524Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd861e7e8395d453402c3398e8094ef5997626d0 [Pipeline] echo [2023-05-03T23:42:05.564Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd861e7 [Pipeline] echo [2023-05-03T23:42:05.606Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T23:42:05.746Z] provisioning config files... [2023-05-03T23:42:05.781Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-338@tmp/config10830073979971011278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:42:06.120Z] ---> docker-login.sh [2023-05-03T23:42:06.120Z] nexus3.edgexfoundry.org:10001 [2023-05-03T23:42:06.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:06.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:06.387Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:06.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:06.387Z] [2023-05-03T23:42:06.387Z] Login Succeeded [2023-05-03T23:42:06.387Z] nexus3.edgexfoundry.org:10002 [2023-05-03T23:42:06.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:06.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:06.655Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:06.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:06.655Z] [2023-05-03T23:42:06.655Z] Login Succeeded [2023-05-03T23:42:06.655Z] nexus3.edgexfoundry.org:10003 [2023-05-03T23:42:06.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:06.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:06.655Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:06.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:06.655Z] [2023-05-03T23:42:06.655Z] Login Succeeded [2023-05-03T23:42:06.655Z] nexus3.edgexfoundry.org:10004 [2023-05-03T23:42:06.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:06.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:06.655Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:06.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:06.655Z] [2023-05-03T23:42:06.655Z] Login Succeeded [2023-05-03T23:42:06.655Z] docker.io [2023-05-03T23:42:06.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:06.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:06.917Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:06.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:06.917Z] [2023-05-03T23:42:06.917Z] Login Succeeded [2023-05-03T23:42:06.917Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T23:42:06.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-03T23:42:07.569Z] + git rev-list -1 --merges fd861e7e8395d453402c3398e8094ef5997626d0~1..fd861e7e8395d453402c3398e8094ef5997626d0 [Pipeline] echo [2023-05-03T23:42:07.637Z] -----------> git rev-list -1 --merges fd861e7e8395d453402c3398e8094ef5997626d0~1..fd861e7e8395d453402c3398e8094ef5997626d0 fd861e7e8395d453402c3398e8094ef5997626d0 [false] [Pipeline] sh [2023-05-03T23:42:07.958Z] + git log --format=format:%s -1 fd861e7e8395d453402c3398e8094ef5997626d0 [Pipeline] echo [2023-05-03T23:42:07.991Z] ========================================================= [2023-05-03T23:42:07.991Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-03T23:42:07.991Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T23:42:08.420Z] + git log --format=format:%s -1 fd861e7e8395d453402c3398e8094ef5997626d0 [Pipeline] echo [2023-05-03T23:42:08.451Z] [semverPrep] GIT_COMMIT: fd861e7e8395d453402c3398e8094ef5997626d0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-03T23:42:08.485Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-03T23:42:08.864Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T23:42:08.865Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-03T23:42:08.865Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-03T23:42:08.865Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-03T23:42:08.865Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-03T23:42:08.865Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-03T23:42:08.865Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:42:09.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T23:42:09.285Z] [2023-05-03T23:42:09.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:42:09.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T23:42:09.654Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-03T23:42:09.654Z] b85a868b505f: Pulling fs layer [2023-05-03T23:42:09.654Z] e2be974225ed: Pulling fs layer [2023-05-03T23:42:09.654Z] 339a4e72a1f5: Pulling fs layer [2023-05-03T23:42:09.654Z] 988bab9f4d93: Pulling fs layer [2023-05-03T23:42:09.654Z] 1469e6f7b9e6: Pulling fs layer [2023-05-03T23:42:09.654Z] eaf3925da568: Pulling fs layer [2023-05-03T23:42:09.654Z] bab4dde63d76: Pulling fs layer [2023-05-03T23:42:09.654Z] bde34c3a00c8: Pulling fs layer [2023-05-03T23:42:09.654Z] b352a97aabf1: Pulling fs layer [2023-05-03T23:42:09.654Z] 4872d77fe225: Pulling fs layer [2023-05-03T23:42:09.654Z] 5851b861e8e6: Pulling fs layer [2023-05-03T23:42:09.654Z] eaf3925da568: Waiting [2023-05-03T23:42:09.654Z] bab4dde63d76: Waiting [2023-05-03T23:42:09.654Z] bde34c3a00c8: Waiting [2023-05-03T23:42:09.654Z] b352a97aabf1: Waiting [2023-05-03T23:42:09.654Z] 4872d77fe225: Waiting [2023-05-03T23:42:09.654Z] 5851b861e8e6: Waiting [2023-05-03T23:42:09.654Z] 1469e6f7b9e6: Waiting [2023-05-03T23:42:09.654Z] 988bab9f4d93: Waiting [2023-05-03T23:42:09.654Z] e2be974225ed: Download complete [2023-05-03T23:42:09.654Z] 988bab9f4d93: Verifying Checksum [2023-05-03T23:42:09.654Z] 988bab9f4d93: Download complete [2023-05-03T23:42:09.654Z] 1469e6f7b9e6: Verifying Checksum [2023-05-03T23:42:09.654Z] 1469e6f7b9e6: Download complete [2023-05-03T23:42:09.913Z] 339a4e72a1f5: Verifying Checksum [2023-05-03T23:42:09.913Z] 339a4e72a1f5: Download complete [2023-05-03T23:42:09.913Z] eaf3925da568: Verifying Checksum [2023-05-03T23:42:09.913Z] eaf3925da568: Download complete [2023-05-03T23:42:09.913Z] bde34c3a00c8: Verifying Checksum [2023-05-03T23:42:09.913Z] bde34c3a00c8: Download complete [2023-05-03T23:42:09.913Z] b352a97aabf1: Verifying Checksum [2023-05-03T23:42:09.913Z] b352a97aabf1: Download complete [2023-05-03T23:42:09.913Z] 4872d77fe225: Verifying Checksum [2023-05-03T23:42:09.913Z] 4872d77fe225: Download complete [2023-05-03T23:42:09.913Z] 5851b861e8e6: Verifying Checksum [2023-05-03T23:42:09.913Z] 5851b861e8e6: Download complete [2023-05-03T23:42:09.913Z] b85a868b505f: Verifying Checksum [2023-05-03T23:42:09.913Z] b85a868b505f: Download complete [2023-05-03T23:42:10.170Z] bab4dde63d76: Verifying Checksum [2023-05-03T23:42:10.170Z] bab4dde63d76: Download complete [2023-05-03T23:42:11.107Z] b85a868b505f: Pull complete [2023-05-03T23:42:11.107Z] e2be974225ed: Pull complete [2023-05-03T23:42:11.674Z] 339a4e72a1f5: Pull complete [2023-05-03T23:42:11.674Z] 988bab9f4d93: Pull complete [2023-05-03T23:42:11.934Z] 1469e6f7b9e6: Pull complete [2023-05-03T23:42:11.934Z] eaf3925da568: Pull complete [2023-05-03T23:42:13.848Z] bab4dde63d76: Pull complete [2023-05-03T23:42:13.848Z] bde34c3a00c8: Pull complete [2023-05-03T23:42:13.848Z] b352a97aabf1: Pull complete [2023-05-03T23:42:13.848Z] 4872d77fe225: Pull complete [2023-05-03T23:42:14.108Z] 5851b861e8e6: Pull complete [2023-05-03T23:42:14.108Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-03T23:42:14.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T23:42:14.108Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T23:42:14.328Z] prd-ubuntu20.04-docker-8c-8g-12648 does not seem to be running inside a container [2023-05-03T23:42:14.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-338 -v /w/workspace/undry_device-onvif-camera_PR-338:/w/workspace/undry_device-onvif-camera_PR-338:rw,z -v /w/workspace/undry_device-onvif-camera_PR-338@tmp:/w/workspace/undry_device-onvif-camera_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-03T23:42:17.422Z] $ docker top 684056bf7eedd723e7e5347a9cb7eae9ebf87d41f79ed10558b8ca9b2647d7b8 -eo pid,comm [2023-05-03T23:42:17.471Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-03T23:42:17.471Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T23:42:17.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T23:42:17.594Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T23:42:17.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T23:42:17.706Z] $ docker exec 684056bf7eedd723e7e5347a9cb7eae9ebf87d41f79ed10558b8ca9b2647d7b8 ssh-agent [2023-05-03T23:42:17.807Z] SSH_AUTH_SOCK=/tmp/ssh-Thm1sXXgqliY/agent.31 [2023-05-03T23:42:17.807Z] SSH_AGENT_PID=37 [2023-05-03T23:42:17.814Z] Running ssh-add (command line suppressed) [2023-05-03T23:42:17.903Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-338@tmp/private_key_6620683202308127035.key (/w/workspace/undry_device-onvif-camera_PR-338@tmp/private_key_6620683202308127035.key) [2023-05-03T23:42:17.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T23:42:18.246Z] + git tag --points-at HEAD [Pipeline] } [2023-05-03T23:42:18.274Z] $ docker exec --env ******** --env ******** 684056bf7eedd723e7e5347a9cb7eae9ebf87d41f79ed10558b8ca9b2647d7b8 ssh-agent -k [2023-05-03T23:42:18.371Z] unset SSH_AUTH_SOCK; [2023-05-03T23:42:18.372Z] unset SSH_AGENT_PID; [2023-05-03T23:42:18.372Z] echo Agent pid 37 killed; [2023-05-03T23:42:18.379Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-03T23:42:18.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T23:42:18.465Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T23:42:18.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T23:42:18.573Z] $ docker exec 684056bf7eedd723e7e5347a9cb7eae9ebf87d41f79ed10558b8ca9b2647d7b8 ssh-agent [2023-05-03T23:42:18.687Z] SSH_AUTH_SOCK=/tmp/ssh-tZ1ic1pXLbgL/agent.69 [2023-05-03T23:42:18.687Z] SSH_AGENT_PID=75 [2023-05-03T23:42:18.693Z] Running ssh-add (command line suppressed) [2023-05-03T23:42:18.800Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-338@tmp/private_key_7297160922339919975.key (/w/workspace/undry_device-onvif-camera_PR-338@tmp/private_key_7297160922339919975.key) [2023-05-03T23:42:18.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T23:42:19.147Z] + git semver init [2023-05-03T23:42:19.407Z] 2023-05-03 23:42:19,317 [run_init] DEBUG init version:0.0.0 force:False [2023-05-03T23:42:19.407Z] 2023-05-03 23:42:19,318 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-338/.semver [2023-05-03T23:42:19.407Z] 2023-05-03 23:42:19,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-338/.semver [2023-05-03T23:42:19.407Z] 2023-05-03 23:42:19,319 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-338/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-338, universal_newlines=False, shell=None, istream=None) [2023-05-03T23:42:20.343Z] 2023-05-03 23:42:20,221 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-338/.git/info/exclude [2023-05-03T23:42:20.343Z] 2023-05-03 23:42:20,222 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-338/.semver/PR-338 with force:False [2023-05-03T23:42:20.343Z] 2023-05-03 23:42:20,222 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-338/.semver/PR-338 [2023-05-03T23:42:20.343Z] 2023-05-03 23:42:20,226 [execute] INFO git cat-file --batch-check [2023-05-03T23:42:20.343Z] 2023-05-03 23:42:20,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-338/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T23:42:20.343Z] 2023-05-03 23:42:20,232 [execute] INFO git cat-file --batch [2023-05-03T23:42:20.343Z] 2023-05-03 23:42:20,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-338/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T23:42:20.343Z] 2023-05-03 23:42:20,237 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-338/.semver/PR-338 [2023-05-03T23:42:20.343Z] 0.0.0 [Pipeline] } [2023-05-03T23:42:20.375Z] $ docker exec --env ******** --env ******** 684056bf7eedd723e7e5347a9cb7eae9ebf87d41f79ed10558b8ca9b2647d7b8 ssh-agent -k [2023-05-03T23:42:20.469Z] unset SSH_AUTH_SOCK; [2023-05-03T23:42:20.469Z] unset SSH_AGENT_PID; [2023-05-03T23:42:20.469Z] echo Agent pid 75 killed; [2023-05-03T23:42:20.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T23:42:20.906Z] + git semver [Pipeline] } [2023-05-03T23:42:21.194Z] $ docker stop --time=1 684056bf7eedd723e7e5347a9cb7eae9ebf87d41f79ed10558b8ca9b2647d7b8 [2023-05-03T23:42:22.448Z] $ docker rm -f --volumes 684056bf7eedd723e7e5347a9cb7eae9ebf87d41f79ed10558b8ca9b2647d7b8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T23:42:22.862Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-03T23:42:23.330Z] Stashed 1 file(s) [Pipeline] echo [2023-05-03T23:42:23.347Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T23:42:24.015Z] provisioning config files... [2023-05-03T23:42:24.026Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-338@tmp/config13340343395102488047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:42:24.440Z] ---> docker-login.sh [2023-05-03T23:42:24.441Z] nexus3.edgexfoundry.org:10001 [2023-05-03T23:42:24.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:24.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:24.441Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:24.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:24.441Z] [2023-05-03T23:42:24.441Z] Login Succeeded [2023-05-03T23:42:24.441Z] nexus3.edgexfoundry.org:10002 [2023-05-03T23:42:24.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:24.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:24.441Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:24.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:24.441Z] [2023-05-03T23:42:24.441Z] Login Succeeded [2023-05-03T23:42:24.441Z] nexus3.edgexfoundry.org:10003 [2023-05-03T23:42:24.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:24.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:24.700Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:24.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:24.700Z] [2023-05-03T23:42:24.700Z] Login Succeeded [2023-05-03T23:42:24.700Z] nexus3.edgexfoundry.org:10004 [2023-05-03T23:42:24.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:24.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:24.700Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:24.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:24.700Z] [2023-05-03T23:42:24.700Z] Login Succeeded [2023-05-03T23:42:24.700Z] docker.io [2023-05-03T23:42:24.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:42:24.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:42:24.959Z] Configure a credential helper to remove this warning. See [2023-05-03T23:42:24.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:42:24.959Z] [2023-05-03T23:42:24.959Z] Login Succeeded [2023-05-03T23:42:24.959Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T23:42:24.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T23:42:25.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T23:42:25.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T23:42:25.263Z] ========================================================= [2023-05-03T23:42:25.263Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-03T23:42:25.263Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:42:25.751Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-03T23:42:25.751Z] Sending build context to Docker daemon 21.52MB [2023-05-03T23:42:25.751Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T23:42:25.751Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-03T23:42:26.009Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-03T23:42:26.009Z] f56be85fc22e: Pulling fs layer [2023-05-03T23:42:26.009Z] 85791d961cd3: Pulling fs layer [2023-05-03T23:42:26.009Z] d694b5ae8c79: Pulling fs layer [2023-05-03T23:42:26.009Z] 9f32a84ed3da: Pulling fs layer [2023-05-03T23:42:26.009Z] 4d19c01a9841: Pulling fs layer [2023-05-03T23:42:26.009Z] 9325e15d5711: Pulling fs layer [2023-05-03T23:42:26.009Z] 556b6ee489ea: Pulling fs layer [2023-05-03T23:42:26.009Z] c5a4b2cf53e6: Pulling fs layer [2023-05-03T23:42:26.009Z] 9f32a84ed3da: Waiting [2023-05-03T23:42:26.009Z] 556b6ee489ea: Waiting [2023-05-03T23:42:26.009Z] 4d19c01a9841: Waiting [2023-05-03T23:42:26.009Z] 9325e15d5711: Waiting [2023-05-03T23:42:26.009Z] c5a4b2cf53e6: Waiting [2023-05-03T23:42:26.009Z] 85791d961cd3: Download complete [2023-05-03T23:42:26.010Z] 9f32a84ed3da: Verifying Checksum [2023-05-03T23:42:26.010Z] 9f32a84ed3da: Download complete [2023-05-03T23:42:26.010Z] 4d19c01a9841: Verifying Checksum [2023-05-03T23:42:26.010Z] 4d19c01a9841: Download complete [2023-05-03T23:42:26.010Z] f56be85fc22e: Verifying Checksum [2023-05-03T23:42:26.010Z] f56be85fc22e: Download complete [2023-05-03T23:42:26.010Z] 9325e15d5711: Verifying Checksum [2023-05-03T23:42:26.010Z] 9325e15d5711: Download complete [2023-05-03T23:42:26.270Z] f56be85fc22e: Pull complete [2023-05-03T23:42:26.270Z] 85791d961cd3: Pull complete [2023-05-03T23:42:26.530Z] d694b5ae8c79: Verifying Checksum [2023-05-03T23:42:26.530Z] d694b5ae8c79: Download complete [2023-05-03T23:42:26.530Z] c5a4b2cf53e6: Verifying Checksum [2023-05-03T23:42:26.530Z] c5a4b2cf53e6: Download complete [2023-05-03T23:42:26.788Z] 556b6ee489ea: Verifying Checksum [2023-05-03T23:42:26.788Z] 556b6ee489ea: Download complete [2023-05-03T23:42:30.069Z] d694b5ae8c79: Pull complete [2023-05-03T23:42:30.069Z] 9f32a84ed3da: Pull complete [2023-05-03T23:42:30.069Z] 4d19c01a9841: Pull complete [2023-05-03T23:42:30.069Z] 9325e15d5711: Pull complete [2023-05-03T23:42:31.969Z] 556b6ee489ea: Pull complete [2023-05-03T23:42:32.904Z] c5a4b2cf53e6: Pull complete [2023-05-03T23:42:32.904Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-03T23:42:32.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-03T23:42:32.904Z] ---> c4be618373d6 [2023-05-03T23:42:32.904Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-03T23:42:37.112Z] ---> Running in 785a3c039f42 [2023-05-03T23:42:37.112Z] Removing intermediate container 785a3c039f42 [2023-05-03T23:42:37.112Z] ---> e91db600cc9f [2023-05-03T23:42:37.112Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T23:42:37.112Z] ---> Running in 85589ab3b092 [2023-05-03T23:42:37.381Z] Removing intermediate container 85589ab3b092 [2023-05-03T23:42:37.381Z] ---> 105cea296197 [2023-05-03T23:42:37.381Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-03T23:42:37.381Z] ---> Running in ba1f04b672a9 [2023-05-03T23:42:37.381Z] Removing intermediate container ba1f04b672a9 [2023-05-03T23:42:37.381Z] ---> 2d323d35d28f [2023-05-03T23:42:37.381Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T23:42:37.381Z] ---> Running in 6541746263e6 [2023-05-03T23:42:37.381Z] Removing intermediate container 6541746263e6 [2023-05-03T23:42:37.381Z] ---> e1fe8a824bb9 [2023-05-03T23:42:37.381Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-03T23:42:37.641Z] ---> Running in b48a3feeb23b [2023-05-03T23:42:37.641Z] Removing intermediate container b48a3feeb23b [2023-05-03T23:42:37.641Z] ---> 12b605c91527 [2023-05-03T23:42:37.641Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T23:42:37.641Z] ---> Running in 42fc4c2221c3 [2023-05-03T23:42:37.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T23:42:38.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T23:42:38.161Z] OK: 265 MiB in 53 packages [2023-05-03T23:42:38.789Z] Still waiting to schedule task [2023-05-03T23:42:38.789Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12647’ [2023-05-03T23:42:38.795Z] Removing intermediate container 42fc4c2221c3 [2023-05-03T23:42:38.795Z] ---> a9877c0a31de [2023-05-03T23:42:38.795Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-03T23:42:38.795Z] ---> Running in 98826bd63402 [2023-05-03T23:42:38.795Z] Removing intermediate container 98826bd63402 [2023-05-03T23:42:38.795Z] ---> 47a9fb6ee441 [2023-05-03T23:42:38.795Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-03T23:42:38.795Z] ---> 73cd2ee1ba39 [2023-05-03T23:42:38.795Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T23:42:38.795Z] ---> Running in 9a2efe62fb1b [2023-05-03T23:43:05.504Z] Removing intermediate container 9a2efe62fb1b [2023-05-03T23:43:05.504Z] ---> 407c075c9f7c [2023-05-03T23:43:05.504Z] Step 12/13 : COPY . . [2023-05-03T23:43:06.073Z] ---> 164b126beb04 [2023-05-03T23:43:06.073Z] Step 13/13 : RUN ${MAKE} [2023-05-03T23:43:06.073Z] ---> Running in fc80f470fc74 [2023-05-03T23:43:06.332Z] noop [2023-05-03T23:43:06.591Z] Removing intermediate container fc80f470fc74 [2023-05-03T23:43:06.591Z] ---> 737afc8a2038 [2023-05-03T23:43:06.591Z] Successfully built 737afc8a2038 [2023-05-03T23:43:06.591Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:43:07.046Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T23:43:07.046Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T23:43:07.214Z] prd-ubuntu20.04-docker-8c-8g-12648 does not seem to be running inside a container [2023-05-03T23:43:07.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-338 -v /w/workspace/undry_device-onvif-camera_PR-338:/w/workspace/undry_device-onvif-camera_PR-338:rw,z -v /w/workspace/undry_device-onvif-camera_PR-338@tmp:/w/workspace/undry_device-onvif-camera_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-03T23:43:07.568Z] $ docker top bffaeb9a539e82dab7e93eccb24f7993f447de6372ac1b89c6d53f2865ce88ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T23:43:07.955Z] + go version [2023-05-03T23:43:07.955Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-03T23:43:07.991Z] $ docker stop --time=1 bffaeb9a539e82dab7e93eccb24f7993f447de6372ac1b89c6d53f2865ce88ed [2023-05-03T23:43:09.255Z] $ docker rm -f --volumes bffaeb9a539e82dab7e93eccb24f7993f447de6372ac1b89c6d53f2865ce88ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:43:09.983Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T23:43:09.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T23:43:10.133Z] prd-ubuntu20.04-docker-8c-8g-12648 does not seem to be running inside a container [2023-05-03T23:43:10.167Z] $ 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-338 -v /w/workspace/undry_device-onvif-camera_PR-338:/w/workspace/undry_device-onvif-camera_PR-338:rw,z -v /w/workspace/undry_device-onvif-camera_PR-338@tmp:/w/workspace/undry_device-onvif-camera_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-03T23:43:10.484Z] $ docker top 36e34c8454ef4c74329f1781cdf7b7265004317701fa992dd19dc0b2080c5341 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T23:43:10.865Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-338 [Pipeline] fileExists [Pipeline] sh [2023-05-03T23:43:11.232Z] + make test [2023-05-03T23:43:11.232Z] go test ./... -coverprofile=coverage.out ./... [2023-05-03T23:43:16.496Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-03T23:43:26.461Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-03T23:43:26.461Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-03T23:43:27.832Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.1% of statements [2023-05-03T23:43:27.832Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.101s coverage: 86.5% of statements [2023-05-03T23:43:34.399Z] go vet ./... [2023-05-03T23:43:37.808Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T23:43:37.808Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T23:43:37.808Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T23:43:37.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T23:43:37.885Z] $ docker stop --time=1 36e34c8454ef4c74329f1781cdf7b7265004317701fa992dd19dc0b2080c5341 [2023-05-03T23:43:41.432Z] $ docker rm -f --volumes 36e34c8454ef4c74329f1781cdf7b7265004317701fa992dd19dc0b2080c5341 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T23:43:41.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T23:43:42.079Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-03T23:43:42.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T23:43:43.008Z] + ls -al . [2023-05-03T23:43:43.008Z] total 232 [2023-05-03T23:43:43.008Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 23:43 . [2023-05-03T23:43:43.008Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:41 .. [2023-05-03T23:43:43.008Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 23:42 .git [2023-05-03T23:43:43.008Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:42 .github [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 496 May 3 23:42 .gitignore [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 23:42 .golangci.yml [2023-05-03T23:43:43.009Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 23:42 .semver [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 3 23:42 Attribution.txt [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 3 23:42 CHANGELOG.md [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 3 23:42 Dockerfile [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 23:42 GOVERNANCE.md [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 734 May 3 23:42 Jenkinsfile [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 3 23:42 LICENSE [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 3 23:42 Makefile [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 625 May 3 23:42 OWNERS.md [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 2591 May 3 23:42 README.md [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 23:42 VERSION [2023-05-03T23:43:43.009Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 23:42 bin [2023-05-03T23:43:43.009Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:42 cmd [2023-05-03T23:43:43.009Z] -rw-r--r-- 1 jenkins jenkins 79191 May 3 23:43 coverage.out [2023-05-03T23:43:43.009Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:42 doc [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 3 23:42 go.mod [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 3 23:42 go.sum [2023-05-03T23:43:43.009Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:42 internal [2023-05-03T23:43:43.009Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:42 snap [2023-05-03T23:43:43.009Z] -rw-rw-r-- 1 jenkins jenkins 236 May 3 23:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:43:43.406Z] + 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=fd861e7e8395d453402c3398e8094ef5997626d0 --label arch=amd64 --label version=0.0.0 . [2023-05-03T23:43:43.406Z] Sending build context to Docker daemon 21.6MB [2023-05-03T23:43:43.406Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T23:43:43.406Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-03T23:43:43.406Z] ---> 737afc8a2038 [2023-05-03T23:43:43.406Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-03T23:43:43.666Z] ---> Running in 75df22d1fd1e [2023-05-03T23:43:43.924Z] Removing intermediate container 75df22d1fd1e [2023-05-03T23:43:43.924Z] ---> a48a54ea69ce [2023-05-03T23:43:43.924Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T23:43:43.924Z] ---> Running in 0845dfb7346a [2023-05-03T23:43:43.924Z] Removing intermediate container 0845dfb7346a [2023-05-03T23:43:43.924Z] ---> cdfcdcb00a48 [2023-05-03T23:43:43.924Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-03T23:43:43.924Z] ---> Running in 09d0d0e264c6 [2023-05-03T23:43:43.924Z] Removing intermediate container 09d0d0e264c6 [2023-05-03T23:43:43.924Z] ---> ff90e7903f1c [2023-05-03T23:43:43.924Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T23:43:43.924Z] ---> Running in 06fc4c728990 [2023-05-03T23:43:44.182Z] Removing intermediate container 06fc4c728990 [2023-05-03T23:43:44.182Z] ---> 9f27f398d7a1 [2023-05-03T23:43:44.182Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-03T23:43:44.182Z] ---> Running in f64a9340ec10 [2023-05-03T23:43:44.182Z] Removing intermediate container f64a9340ec10 [2023-05-03T23:43:44.182Z] ---> c2fa1a3e8bf3 [2023-05-03T23:43:44.182Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T23:43:44.182Z] ---> Running in 7b3d8143bc8d [2023-05-03T23:43:44.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T23:43:44.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T23:43:44.701Z] OK: 265 MiB in 53 packages [2023-05-03T23:43:45.270Z] Removing intermediate container 7b3d8143bc8d [2023-05-03T23:43:45.270Z] ---> 360ab9f83262 [2023-05-03T23:43:45.270Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-03T23:43:45.270Z] ---> Running in 6a3a0d4b2f47 [2023-05-03T23:43:45.270Z] Removing intermediate container 6a3a0d4b2f47 [2023-05-03T23:43:45.270Z] ---> bec72575a871 [2023-05-03T23:43:45.270Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-03T23:43:45.529Z] ---> fbfe3ac90263 [2023-05-03T23:43:45.529Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T23:43:45.529Z] ---> Running in 6bbdf0971dcd [2023-05-03T23:43:46.096Z] Removing intermediate container 6bbdf0971dcd [2023-05-03T23:43:46.096Z] ---> 11c281de5dbc [2023-05-03T23:43:46.096Z] Step 12/26 : COPY . . [2023-05-03T23:43:47.029Z] ---> 1c38681e7cc9 [2023-05-03T23:43:47.029Z] Step 13/26 : RUN ${MAKE} [2023-05-03T23:43:47.029Z] ---> Running in 3157de022121 [2023-05-03T23:43:47.287Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-03T23:44:09.220Z] Removing intermediate container 3157de022121 [2023-05-03T23:44:09.220Z] ---> a0b60ce6dca4 [2023-05-03T23:44:09.220Z] Step 14/26 : FROM alpine:3.17 [2023-05-03T23:44:09.220Z] 3.17: Pulling from library/alpine [2023-05-03T23:44:09.220Z] f56be85fc22e: Already exists [2023-05-03T23:44:09.220Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T23:44:09.220Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T23:44:09.220Z] ---> 9ed4aefc74f6 [2023-05-03T23:44:09.220Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-03T23:44:09.220Z] ---> Running in 154cab6a9627 [2023-05-03T23:44:09.220Z] Removing intermediate container 154cab6a9627 [2023-05-03T23:44:09.220Z] ---> 7aeacffcb970 [2023-05-03T23:44:09.220Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-03T23:44:09.220Z] ---> Running in 6b4353e6bce5 [2023-05-03T23:44:09.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T23:44:09.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T23:44:09.220Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-03T23:44:09.220Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T23:44:09.220Z] OK: 7 MiB in 16 packages [2023-05-03T23:44:09.220Z] Removing intermediate container 6b4353e6bce5 [2023-05-03T23:44:09.220Z] ---> 48b4950b4d12 [2023-05-03T23:44:09.220Z] Step 17/26 : WORKDIR / [2023-05-03T23:44:09.220Z] ---> Running in 921302b9c430 [2023-05-03T23:44:09.220Z] Removing intermediate container 921302b9c430 [2023-05-03T23:44:09.220Z] ---> 75e6d37bbcdf [2023-05-03T23:44:09.220Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-03T23:44:09.220Z] ---> d9649e627abc [2023-05-03T23:44:09.220Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-03T23:44:09.478Z] ---> d65003911126 [2023-05-03T23:44:09.478Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-03T23:44:09.478Z] ---> e59038eb55fd [2023-05-03T23:44:09.478Z] Step 21/26 : EXPOSE 59984 [2023-05-03T23:44:09.478Z] ---> Running in 48c92407ae7f [2023-05-03T23:44:09.736Z] Removing intermediate container 48c92407ae7f [2023-05-03T23:44:09.736Z] ---> 3bf8a7f85fd0 [2023-05-03T23:44:09.736Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-03T23:44:09.736Z] ---> Running in 1e6908558b0d [2023-05-03T23:44:09.736Z] Removing intermediate container 1e6908558b0d [2023-05-03T23:44:09.736Z] ---> 12ea8c416fff [2023-05-03T23:44:09.736Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-03T23:44:09.736Z] ---> Running in cef9b8d3a163 [2023-05-03T23:44:09.736Z] Removing intermediate container cef9b8d3a163 [2023-05-03T23:44:09.736Z] ---> a83eb4aeba8f [2023-05-03T23:44:09.736Z] Step 24/26 : LABEL arch=amd64 [2023-05-03T23:44:09.736Z] ---> Running in 42b20b673346 [2023-05-03T23:44:09.995Z] Removing intermediate container 42b20b673346 [2023-05-03T23:44:09.995Z] ---> 9d749fb14e46 [2023-05-03T23:44:09.995Z] Step 25/26 : LABEL git_sha=fd861e7e8395d453402c3398e8094ef5997626d0 [2023-05-03T23:44:09.995Z] ---> Running in 764192e15057 [2023-05-03T23:44:09.995Z] Removing intermediate container 764192e15057 [2023-05-03T23:44:09.995Z] ---> fa2ad8645442 [2023-05-03T23:44:09.995Z] Step 26/26 : LABEL version=0.0.0 [2023-05-03T23:44:09.995Z] ---> Running in 7815289a2a60 [2023-05-03T23:44:09.995Z] Removing intermediate container 7815289a2a60 [2023-05-03T23:44:09.995Z] ---> 682509be3175 [2023-05-03T23:44:09.995Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T23:44:09.995Z] Successfully built 682509be3175 [2023-05-03T23:44:09.995Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:44:10.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T23:44:10.934Z] [2023-05-03T23:44:10.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:44:11.327Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T23:44:11.327Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-03T23:44:11.327Z] 5eb5b503b376: Pulling fs layer [2023-05-03T23:44:11.327Z] 5c69ac0246d0: Pulling fs layer [2023-05-03T23:44:11.327Z] ec43610c2a17: Pulling fs layer [2023-05-03T23:44:11.327Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-03T23:44:11.327Z] 33b1e0a273af: Pulling fs layer [2023-05-03T23:44:11.327Z] 5d3b04190fa2: Pulling fs layer [2023-05-03T23:44:11.327Z] 2f39f015ded8: Pulling fs layer [2023-05-03T23:44:11.327Z] 5d3b04190fa2: Waiting [2023-05-03T23:44:11.327Z] 33b1e0a273af: Waiting [2023-05-03T23:44:11.327Z] 2f39f015ded8: Waiting [2023-05-03T23:44:11.327Z] 3a2ae6a8a46f: Waiting [2023-05-03T23:44:11.327Z] 5c69ac0246d0: Verifying Checksum [2023-05-03T23:44:11.327Z] 5c69ac0246d0: Download complete [2023-05-03T23:44:11.327Z] 3a2ae6a8a46f: Download complete [2023-05-03T23:44:11.586Z] 33b1e0a273af: Verifying Checksum [2023-05-03T23:44:11.586Z] 33b1e0a273af: Download complete [2023-05-03T23:44:11.586Z] 5d3b04190fa2: Verifying Checksum [2023-05-03T23:44:11.586Z] 5d3b04190fa2: Download complete [2023-05-03T23:44:11.874Z] ec43610c2a17: Verifying Checksum [2023-05-03T23:44:11.874Z] ec43610c2a17: Download complete [2023-05-03T23:44:11.874Z] 5eb5b503b376: Verifying Checksum [2023-05-03T23:44:11.874Z] 5eb5b503b376: Download complete [2023-05-03T23:44:12.811Z] 2f39f015ded8: Download complete [2023-05-03T23:44:13.071Z] 5eb5b503b376: Pull complete [2023-05-03T23:44:13.330Z] 5c69ac0246d0: Pull complete [2023-05-03T23:44:13.588Z] ec43610c2a17: Pull complete [2023-05-03T23:44:13.588Z] 3a2ae6a8a46f: Pull complete [2023-05-03T23:44:13.846Z] 33b1e0a273af: Pull complete [2023-05-03T23:44:13.846Z] 5d3b04190fa2: Pull complete [2023-05-03T23:44:18.031Z] 2f39f015ded8: Pull complete [2023-05-03T23:44:18.031Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-03T23:44:18.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T23:44:18.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T23:44:18.260Z] prd-ubuntu20.04-docker-8c-8g-12648 does not seem to be running inside a container [2023-05-03T23:44:18.291Z] $ 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-338 -v /w/workspace/undry_device-onvif-camera_PR-338:/w/workspace/undry_device-onvif-camera_PR-338:rw,z -v /w/workspace/undry_device-onvif-camera_PR-338@tmp:/w/workspace/undry_device-onvif-camera_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-03T23:44:22.052Z] $ docker top 1530b9636437abc9d72f8652833a22b7ae72ccd374b25abe15f0685c75d809cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:44:22.482Z] ---> job-cost.sh [2023-05-03T23:44:22.482Z] lf-activate-venv: SKIPPING [2023-05-03T23:44:22.482Z] INFO: No Stack... [2023-05-03T23:44:22.741Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T23:44:23.310Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T23:44:23.628Z] + cat /w/workspace/undry_device-onvif-camera_PR-338/archives/cost.csv [2023-05-03T23:44:23.628Z] + cut -d, -f6 [Pipeline] lock [2023-05-03T23:44:23.671Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-338-1-stack-cost] [2023-05-03T23:44:23.676Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-338-1-stack-cost] did not exist. Created. [2023-05-03T23:44:23.676Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-338-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T23:44:24.068Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-03T23:44:24.119Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T23:44:24.146Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-338-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T23:44:24.231Z] $ docker stop --time=1 1530b9636437abc9d72f8652833a22b7ae72ccd374b25abe15f0685c75d809cf [2023-05-03T23:44:25.374Z] $ docker rm -f --volumes 1530b9636437abc9d72f8652833a22b7ae72ccd374b25abe15f0685c75d809cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-03T23:45:16.920Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12651 in /w/workspace/undry_device-onvif-camera_PR-338 [Pipeline] { [Pipeline] ws [2023-05-03T23:45:16.975Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-03T23:45:17.059Z] The recommended git tool is: git [2023-05-03T23:45:23.418Z] using credential edgex-jenkins-ssh [2023-05-03T23:45:23.435Z] Cloning the remote Git repository [2023-05-03T23:45:23.491Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-03T23:45:23.603Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-03T23:45:23.789Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-03T23:45:23.791Z] > git --version # timeout=10 [2023-05-03T23:45:23.818Z] > git --version # 'git version 2.25.1' [2023-05-03T23:45:23.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T23:45:24.015Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T23:45:25.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-03T23:45:25.574Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T23:45:27.265Z] Merging remotes/origin/main commit a5100156d942d3e2ec7c51a96dce7156478cbb52 into PR head commit fd861e7e8395d453402c3398e8094ef5997626d0 [2023-05-03T23:45:26.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-03T23:45:26.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-03T23:45:26.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T23:45:26.675Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-03T23:45:27.283Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T23:45:27.362Z] > git checkout -f fd861e7e8395d453402c3398e8094ef5997626d0 # timeout=10 [2023-05-03T23:45:27.682Z] Merge succeeded, producing fd861e7e8395d453402c3398e8094ef5997626d0 [2023-05-03T23:45:27.683Z] Checking out Revision fd861e7e8395d453402c3398e8094ef5997626d0 (PR-338) [2023-05-03T23:45:28.508Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-03T23:45:28.561Z] > git --version # timeout=10 [2023-05-03T23:45:28.573Z] > git --version # 'git version 2.25.1' [2023-05-03T23:45:28.597Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-03T23:45:27.564Z] > git remote # timeout=10 [2023-05-03T23:45:27.586Z] > git config --get remote.origin.url # timeout=10 [2023-05-03T23:45:27.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T23:45:27.630Z] > git merge a5100156d942d3e2ec7c51a96dce7156478cbb52 # timeout=10 [2023-05-03T23:45:27.660Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-03T23:45:27.688Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T23:45:27.707Z] > git checkout -f fd861e7e8395d453402c3398e8094ef5997626d0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T23:45:29.723Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-03T23:45:29.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T23:45:29.723Z] Dload Upload Total Spent Left Speed [2023-05-03T23:45:29.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-05-03T23:45:30.377Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-03T23:45:30.732Z] + sudo tee /etc/docker/daemon.new [2023-05-03T23:45:30.732Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-03T23:45:30.732Z] { [2023-05-03T23:45:30.732Z] "registry-mirrors": [ [2023-05-03T23:45:30.732Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-03T23:45:30.732Z] ], [2023-05-03T23:45:30.732Z] "bip": "10.250.0.254/24", [2023-05-03T23:45:30.732Z] "hosts": [ [2023-05-03T23:45:30.732Z] "tcp://0.0.0.0:5555", [2023-05-03T23:45:30.732Z] "unix:///var/run/docker.sock" [2023-05-03T23:45:30.732Z] ], [2023-05-03T23:45:30.732Z] "mtu": 1458, [2023-05-03T23:45:30.732Z] "selinux-enabled": true, [2023-05-03T23:45:30.732Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-03T23:45:30.732Z] } [Pipeline] sh [2023-05-03T23:45:31.093Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-03T23:45:31.451Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T23:45:49.858Z] provisioning config files... [2023-05-03T23:45:49.888Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3069958269743406074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:45:50.285Z] ---> docker-login.sh [2023-05-03T23:45:50.285Z] nexus3.edgexfoundry.org:10001 [2023-05-03T23:45:50.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:45:50.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:45:50.879Z] Configure a credential helper to remove this warning. See [2023-05-03T23:45:50.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:45:50.879Z] [2023-05-03T23:45:50.879Z] Login Succeeded [2023-05-03T23:45:50.879Z] nexus3.edgexfoundry.org:10002 [2023-05-03T23:45:51.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:45:51.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:45:51.436Z] Configure a credential helper to remove this warning. See [2023-05-03T23:45:51.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:45:51.436Z] [2023-05-03T23:45:51.436Z] Login Succeeded [2023-05-03T23:45:51.436Z] nexus3.edgexfoundry.org:10003 [2023-05-03T23:45:51.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:45:51.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:45:51.711Z] Configure a credential helper to remove this warning. See [2023-05-03T23:45:51.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:45:51.711Z] [2023-05-03T23:45:51.711Z] Login Succeeded [2023-05-03T23:45:51.711Z] nexus3.edgexfoundry.org:10004 [2023-05-03T23:45:51.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:45:51.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:45:51.983Z] Configure a credential helper to remove this warning. See [2023-05-03T23:45:51.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:45:51.983Z] [2023-05-03T23:45:52.253Z] Login Succeeded [2023-05-03T23:45:52.253Z] docker.io [2023-05-03T23:45:52.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T23:45:52.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T23:45:52.523Z] Configure a credential helper to remove this warning. See [2023-05-03T23:45:52.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T23:45:52.523Z] [2023-05-03T23:45:52.523Z] Login Succeeded [2023-05-03T23:45:52.523Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T23:45:52.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T23:45:52.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T23:45:52.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T23:45:53.031Z] ========================================================= [2023-05-03T23:45:53.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-03T23:45:53.032Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:45:53.523Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-03T23:45:54.119Z] Sending build context to Docker daemon 14.18MB [2023-05-03T23:45:54.119Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T23:45:54.119Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-03T23:45:54.119Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-03T23:45:54.119Z] c41833b44d91: Pulling fs layer [2023-05-03T23:45:54.119Z] ed15518f5707: Pulling fs layer [2023-05-03T23:45:54.119Z] feae8fd75edb: Pulling fs layer [2023-05-03T23:45:54.119Z] 242c74f7c9fa: Pulling fs layer [2023-05-03T23:45:54.119Z] 3cdef696dda3: Pulling fs layer [2023-05-03T23:45:54.119Z] 2ced38df9373: Pulling fs layer [2023-05-03T23:45:54.119Z] 58f1dce35555: Pulling fs layer [2023-05-03T23:45:54.119Z] 3cdef696dda3: Waiting [2023-05-03T23:45:54.119Z] 2ced38df9373: Waiting [2023-05-03T23:45:54.119Z] 58f1dce35555: Waiting [2023-05-03T23:45:54.119Z] 242c74f7c9fa: Waiting [2023-05-03T23:45:54.119Z] ed15518f5707: Verifying Checksum [2023-05-03T23:45:54.119Z] ed15518f5707: Download complete [2023-05-03T23:45:54.484Z] 242c74f7c9fa: Verifying Checksum [2023-05-03T23:45:54.484Z] 242c74f7c9fa: Download complete [2023-05-03T23:45:54.484Z] 3cdef696dda3: Verifying Checksum [2023-05-03T23:45:54.484Z] 3cdef696dda3: Download complete [2023-05-03T23:45:54.484Z] c41833b44d91: Verifying Checksum [2023-05-03T23:45:54.484Z] c41833b44d91: Download complete [2023-05-03T23:45:55.507Z] c41833b44d91: Pull complete [2023-05-03T23:45:56.105Z] 58f1dce35555: Verifying Checksum [2023-05-03T23:45:56.105Z] 58f1dce35555: Download complete [2023-05-03T23:45:56.105Z] ed15518f5707: Pull complete [2023-05-03T23:45:57.523Z] feae8fd75edb: Verifying Checksum [2023-05-03T23:45:57.523Z] feae8fd75edb: Download complete [2023-05-03T23:45:57.523Z] 2ced38df9373: Verifying Checksum [2023-05-03T23:45:57.523Z] 2ced38df9373: Download complete [2023-05-03T23:46:09.865Z] feae8fd75edb: Pull complete [2023-05-03T23:46:09.865Z] 242c74f7c9fa: Pull complete [2023-05-03T23:46:09.865Z] 3cdef696dda3: Pull complete [2023-05-03T23:46:15.218Z] 2ced38df9373: Pull complete [2023-05-03T23:46:17.172Z] 58f1dce35555: Pull complete [2023-05-03T23:46:17.172Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-03T23:46:17.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-03T23:46:17.172Z] ---> fadd8f120f05 [2023-05-03T23:46:17.172Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-03T23:46:19.132Z] ---> Running in 327d60066e74 [2023-05-03T23:46:19.402Z] Removing intermediate container 327d60066e74 [2023-05-03T23:46:19.402Z] ---> bbad4b1d6a85 [2023-05-03T23:46:19.402Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T23:46:19.402Z] ---> Running in bbf312d99b4f [2023-05-03T23:46:19.671Z] Removing intermediate container bbf312d99b4f [2023-05-03T23:46:19.671Z] ---> 0fdd4e0a7347 [2023-05-03T23:46:19.671Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-03T23:46:19.671Z] ---> Running in 368c87a0488e [2023-05-03T23:46:20.256Z] Removing intermediate container 368c87a0488e [2023-05-03T23:46:20.256Z] ---> 7869d7d5db66 [2023-05-03T23:46:20.256Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T23:46:20.256Z] ---> Running in 1bd50eeedcca [2023-05-03T23:46:20.523Z] Removing intermediate container 1bd50eeedcca [2023-05-03T23:46:20.523Z] ---> 9213483053f4 [2023-05-03T23:46:20.523Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-03T23:46:20.523Z] ---> Running in a25c3ec08a4d [2023-05-03T23:46:20.793Z] Removing intermediate container a25c3ec08a4d [2023-05-03T23:46:20.793Z] ---> 71021c19572c [2023-05-03T23:46:20.793Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T23:46:21.061Z] ---> Running in d4d7516e9c80 [2023-05-03T23:46:22.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T23:46:22.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T23:46:24.019Z] OK: 263 MiB in 53 packages [2023-05-03T23:46:24.603Z] Removing intermediate container d4d7516e9c80 [2023-05-03T23:46:24.603Z] ---> 04061de21956 [2023-05-03T23:46:24.603Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-03T23:46:24.603Z] ---> Running in 0c4b8830b50d [2023-05-03T23:46:25.189Z] Removing intermediate container 0c4b8830b50d [2023-05-03T23:46:25.190Z] ---> 8960f902603d [2023-05-03T23:46:25.190Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-03T23:46:25.457Z] ---> ae2fe42c768c [2023-05-03T23:46:25.457Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T23:46:25.731Z] ---> Running in 87e767861288 [2023-05-03T23:47:33.648Z] Removing intermediate container 87e767861288 [2023-05-03T23:47:33.648Z] ---> 60cacc26a9dc [2023-05-03T23:47:33.648Z] Step 12/13 : COPY . . [2023-05-03T23:47:37.910Z] ---> aa7026ea0a1f [2023-05-03T23:47:37.910Z] Step 13/13 : RUN ${MAKE} [2023-05-03T23:47:37.910Z] ---> Running in 46345326caa7 [2023-05-03T23:47:38.494Z] noop [2023-05-03T23:47:39.096Z] Removing intermediate container 46345326caa7 [2023-05-03T23:47:39.096Z] ---> 527145af2d48 [2023-05-03T23:47:39.096Z] Successfully built 527145af2d48 [2023-05-03T23:47:39.096Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:47:39.559Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T23:47:39.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T23:47:39.834Z] prd-ubuntu20.04-docker-arm64-4c-16g-12651 does not seem to be running inside a container [2023-05-03T23:47:39.895Z] $ 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 ******** ci-base-image-arm64 cat [2023-05-03T23:47:41.064Z] $ docker top 2470fd85972369d020509f71584d0e9de3b769955ab70ed7b4000f6f1e247981 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T23:47:41.967Z] + go version [2023-05-03T23:47:41.967Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-03T23:47:42.007Z] $ docker stop --time=1 2470fd85972369d020509f71584d0e9de3b769955ab70ed7b4000f6f1e247981 [2023-05-03T23:47:43.624Z] $ docker rm -f --volumes 2470fd85972369d020509f71584d0e9de3b769955ab70ed7b4000f6f1e247981 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:47:44.486Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T23:47:44.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T23:47:44.729Z] prd-ubuntu20.04-docker-arm64-4c-16g-12651 does not seem to be running inside a container [2023-05-03T23:47:44.790Z] $ 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 ******** ci-base-image-arm64 cat [2023-05-03T23:47:45.946Z] $ docker top 484fd526303ea41fd07a8d79a0ed3227671c2ba685af64d9e3c39490460deffc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T23:47:46.842Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-03T23:47:47.552Z] + make test [2023-05-03T23:47:47.552Z] go test ./... -coverprofile=coverage.out ./... [2023-05-03T23:48:34.436Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-03T23:51:11.729Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-03T23:51:11.729Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-03T23:51:11.729Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.207s coverage: 31.1% of statements [2023-05-03T23:51:21.805Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.252s coverage: 86.5% of statements [2023-05-03T23:51:21.805Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-03T23:51:21.805Z] go vet ./... [2023-05-03T23:51:54.040Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T23:51:54.040Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T23:51:54.040Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T23:51:54.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T23:51:54.097Z] $ docker stop --time=1 484fd526303ea41fd07a8d79a0ed3227671c2ba685af64d9e3c39490460deffc [2023-05-03T23:51:56.049Z] $ docker rm -f --volumes 484fd526303ea41fd07a8d79a0ed3227671c2ba685af64d9e3c39490460deffc [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T23:51:57.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T23:51:57.465Z] Warning: overwriting stash ‘coverage-report’ [2023-05-03T23:51:58.101Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T23:51:58.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T23:51:59.056Z] + ls -al . [2023-05-03T23:51:59.056Z] total 228 [2023-05-03T23:51:59.056Z] drwxrwxr-x 9 jenkins jenkins 4096 May 3 23:47 . [2023-05-03T23:51:59.056Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:45 .. [2023-05-03T23:51:59.056Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 23:45 .git [2023-05-03T23:51:59.056Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:45 .github [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 496 May 3 23:45 .gitignore [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 23:45 .golangci.yml [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 3 23:45 Attribution.txt [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 3 23:45 CHANGELOG.md [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 3 23:45 Dockerfile [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 23:45 GOVERNANCE.md [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 734 May 3 23:45 Jenkinsfile [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 3 23:45 LICENSE [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 3 23:45 Makefile [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 625 May 3 23:45 OWNERS.md [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 2591 May 3 23:45 README.md [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 23:42 VERSION [2023-05-03T23:51:59.056Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 23:45 bin [2023-05-03T23:51:59.056Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:45 cmd [2023-05-03T23:51:59.056Z] -rw-r--r-- 1 jenkins jenkins 79191 May 3 23:51 coverage.out [2023-05-03T23:51:59.056Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:45 doc [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 3 23:45 go.mod [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 3 23:45 go.sum [2023-05-03T23:51:59.056Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:45 internal [2023-05-03T23:51:59.056Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:45 snap [2023-05-03T23:51:59.056Z] -rw-rw-r-- 1 jenkins jenkins 236 May 3 23:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:51:59.486Z] + 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=fd861e7e8395d453402c3398e8094ef5997626d0 --label arch=arm64 --label version=0.0.0 . [2023-05-03T23:52:00.095Z] Sending build context to Docker daemon 14.26MB [2023-05-03T23:52:00.095Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T23:52:00.095Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-03T23:52:00.095Z] ---> 527145af2d48 [2023-05-03T23:52:00.095Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-03T23:52:00.367Z] ---> Running in 5f4787b811d6 [2023-05-03T23:52:00.637Z] Removing intermediate container 5f4787b811d6 [2023-05-03T23:52:00.637Z] ---> da53b532fac2 [2023-05-03T23:52:00.637Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T23:52:00.637Z] ---> Running in 407ee5b5ea20 [2023-05-03T23:52:00.992Z] Removing intermediate container 407ee5b5ea20 [2023-05-03T23:52:00.992Z] ---> 25885ce3f39d [2023-05-03T23:52:00.992Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-03T23:52:01.285Z] ---> Running in ab895df8cd8b [2023-05-03T23:52:01.561Z] Removing intermediate container ab895df8cd8b [2023-05-03T23:52:01.561Z] ---> 4329695d06e0 [2023-05-03T23:52:01.561Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T23:52:01.561Z] ---> Running in 1eec8e3a7f0a [2023-05-03T23:52:01.845Z] Removing intermediate container 1eec8e3a7f0a [2023-05-03T23:52:01.845Z] ---> 463774d6ce8b [2023-05-03T23:52:01.845Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-03T23:52:02.127Z] ---> Running in 4bd89fcd52a9 [2023-05-03T23:52:02.417Z] Removing intermediate container 4bd89fcd52a9 [2023-05-03T23:52:02.417Z] ---> 2a8f52b76da8 [2023-05-03T23:52:02.417Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T23:52:02.417Z] ---> Running in 61438eb1b2e9 [2023-05-03T23:52:03.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T23:52:04.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T23:52:05.554Z] OK: 263 MiB in 53 packages [2023-05-03T23:52:06.145Z] Removing intermediate container 61438eb1b2e9 [2023-05-03T23:52:06.145Z] ---> 5e65e587e1c2 [2023-05-03T23:52:06.145Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-03T23:52:06.145Z] ---> Running in 9e150074ba05 [2023-05-03T23:52:06.415Z] Removing intermediate container 9e150074ba05 [2023-05-03T23:52:06.415Z] ---> c1aa96713c8c [2023-05-03T23:52:06.415Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-03T23:52:07.000Z] ---> cafac2f07b98 [2023-05-03T23:52:07.000Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T23:52:07.273Z] ---> Running in 8cabecf3a877 [2023-05-03T23:52:09.871Z] Removing intermediate container 8cabecf3a877 [2023-05-03T23:52:09.871Z] ---> 0e745477f437 [2023-05-03T23:52:09.871Z] Step 12/26 : COPY . . [2023-05-03T23:52:11.287Z] ---> 3e6f642dd0bd [2023-05-03T23:52:11.287Z] Step 13/26 : RUN ${MAKE} [2023-05-03T23:52:11.558Z] ---> Running in 3f4be57ddad1 [2023-05-03T23:52:12.530Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-03T23:54:49.246Z] Removing intermediate container 3f4be57ddad1 [2023-05-03T23:54:49.246Z] ---> 7e728c5bab56 [2023-05-03T23:54:49.246Z] Step 14/26 : FROM alpine:3.17 [2023-05-03T23:54:49.246Z] 3.17: Pulling from library/alpine [2023-05-03T23:54:49.246Z] c41833b44d91: Already exists [2023-05-03T23:54:49.246Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T23:54:49.246Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T23:54:49.246Z] ---> 51e60588ff2c [2023-05-03T23:54:49.246Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-03T23:54:49.246Z] ---> Running in cd916b975db7 [2023-05-03T23:54:49.246Z] Removing intermediate container cd916b975db7 [2023-05-03T23:54:49.246Z] ---> 7c5d6a51cfe1 [2023-05-03T23:54:49.246Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-03T23:54:49.246Z] ---> Running in 0622e495dd4d [2023-05-03T23:54:49.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T23:54:49.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T23:54:49.246Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-03T23:54:49.246Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T23:54:49.246Z] OK: 8 MiB in 16 packages [2023-05-03T23:54:49.246Z] Removing intermediate container 0622e495dd4d [2023-05-03T23:54:49.246Z] ---> 15631ee05b07 [2023-05-03T23:54:49.246Z] Step 17/26 : WORKDIR / [2023-05-03T23:54:49.246Z] ---> Running in 8158ce595eb3 [2023-05-03T23:54:49.246Z] Removing intermediate container 8158ce595eb3 [2023-05-03T23:54:49.246Z] ---> b7caf2d6d8f6 [2023-05-03T23:54:49.246Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-03T23:54:49.514Z] ---> 0db9669b733b [2023-05-03T23:54:49.514Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-03T23:54:50.111Z] ---> 1fb03d87f939 [2023-05-03T23:54:50.111Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-03T23:54:50.694Z] ---> 99c5ec295469 [2023-05-03T23:54:50.694Z] Step 21/26 : EXPOSE 59984 [2023-05-03T23:54:50.694Z] ---> Running in 3c26db04dd69 [2023-05-03T23:54:50.963Z] Removing intermediate container 3c26db04dd69 [2023-05-03T23:54:50.963Z] ---> a49764083368 [2023-05-03T23:54:50.963Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-03T23:54:50.963Z] ---> Running in 93eb674a360a [2023-05-03T23:54:51.231Z] Removing intermediate container 93eb674a360a [2023-05-03T23:54:51.231Z] ---> 4acdb4dff01e [2023-05-03T23:54:51.231Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-03T23:54:51.499Z] ---> Running in 765c07188eb4 [2023-05-03T23:54:51.769Z] Removing intermediate container 765c07188eb4 [2023-05-03T23:54:51.769Z] ---> e5fc6bcdca87 [2023-05-03T23:54:51.769Z] Step 24/26 : LABEL arch=arm64 [2023-05-03T23:54:51.769Z] ---> Running in 763e36c7c685 [2023-05-03T23:54:52.036Z] Removing intermediate container 763e36c7c685 [2023-05-03T23:54:52.036Z] ---> 18fe91298e4f [2023-05-03T23:54:52.036Z] Step 25/26 : LABEL git_sha=fd861e7e8395d453402c3398e8094ef5997626d0 [2023-05-03T23:54:52.036Z] ---> Running in 9b3d56be493a [2023-05-03T23:54:52.306Z] Removing intermediate container 9b3d56be493a [2023-05-03T23:54:52.306Z] ---> 539df0c3d6b1 [2023-05-03T23:54:52.306Z] Step 26/26 : LABEL version=0.0.0 [2023-05-03T23:54:52.306Z] ---> Running in acd4645acefc [2023-05-03T23:54:52.573Z] Removing intermediate container acd4645acefc [2023-05-03T23:54:52.573Z] ---> 99d1d0347498 [2023-05-03T23:54:52.573Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T23:54:52.841Z] Successfully built 99d1d0347498 [2023-05-03T23:54:52.841Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:54:53.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T23:54:53.634Z] [2023-05-03T23:54:53.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:54:54.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T23:54:54.043Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-03T23:54:54.043Z] 8998bd30e6a1: Pulling fs layer [2023-05-03T23:54:54.043Z] 04944245beec: Pulling fs layer [2023-05-03T23:54:54.043Z] 699f458cf7ca: Pulling fs layer [2023-05-03T23:54:54.043Z] 765212b225bb: Pulling fs layer [2023-05-03T23:54:54.043Z] f23df028b6ca: Pulling fs layer [2023-05-03T23:54:54.043Z] d65c8cfc05b1: Pulling fs layer [2023-05-03T23:54:54.043Z] 2437ff75d9bd: Pulling fs layer [2023-05-03T23:54:54.043Z] 765212b225bb: Waiting [2023-05-03T23:54:54.043Z] f23df028b6ca: Waiting [2023-05-03T23:54:54.043Z] d65c8cfc05b1: Waiting [2023-05-03T23:54:54.043Z] 2437ff75d9bd: Waiting [2023-05-03T23:54:54.311Z] 04944245beec: Verifying Checksum [2023-05-03T23:54:54.311Z] 04944245beec: Download complete [2023-05-03T23:54:54.311Z] 765212b225bb: Verifying Checksum [2023-05-03T23:54:54.311Z] 765212b225bb: Download complete [2023-05-03T23:54:54.311Z] f23df028b6ca: Verifying Checksum [2023-05-03T23:54:54.311Z] f23df028b6ca: Download complete [2023-05-03T23:54:54.311Z] d65c8cfc05b1: Verifying Checksum [2023-05-03T23:54:54.311Z] d65c8cfc05b1: Download complete [2023-05-03T23:54:54.581Z] 699f458cf7ca: Verifying Checksum [2023-05-03T23:54:54.581Z] 699f458cf7ca: Download complete [2023-05-03T23:54:54.850Z] 8998bd30e6a1: Download complete [2023-05-03T23:54:57.432Z] 2437ff75d9bd: Download complete [2023-05-03T23:54:58.843Z] 8998bd30e6a1: Pull complete [2023-05-03T23:54:59.113Z] 04944245beec: Pull complete [2023-05-03T23:55:01.056Z] 699f458cf7ca: Pull complete [2023-05-03T23:55:01.056Z] 765212b225bb: Pull complete [2023-05-03T23:55:02.015Z] f23df028b6ca: Pull complete [2023-05-03T23:55:02.015Z] d65c8cfc05b1: Pull complete [2023-05-03T23:55:17.021Z] 2437ff75d9bd: Pull complete [2023-05-03T23:55:17.021Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-03T23:55:17.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T23:55:17.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T23:55:17.339Z] prd-ubuntu20.04-docker-arm64-4c-16g-12651 does not seem to be running inside a container [2023-05-03T23:55:17.397Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-03T23:55:20.197Z] $ docker top 742536534ece1dffecc10d3cee206a1e49ab46d66fa9d99739d1669f94f0008e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:55:21.131Z] ---> job-cost.sh [2023-05-03T23:55:21.131Z] lf-activate-venv: SKIPPING [2023-05-03T23:55:21.131Z] INFO: No Stack... [2023-05-03T23:55:21.397Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-03T23:55:22.358Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T23:55:23.017Z] + cut -d, -f6 [2023-05-03T23:55:23.017Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-05-03T23:55:23.078Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-338-1-stack-cost] [2023-05-03T23:55:23.082Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-338-1-stack-cost] did not exist. Created. [2023-05-03T23:55:23.082Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-338-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T23:55:23.810Z] /w/workspace/device-onvif-camera/1@tmp/durable-eb3038c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-03T23:55:24.481Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-03T23:55:24.521Z] Warning: overwriting stash ‘stack-cost’ [2023-05-03T23:55:24.575Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T23:55:24.591Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-338-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T23:55:24.661Z] $ docker stop --time=1 742536534ece1dffecc10d3cee206a1e49ab46d66fa9d99739d1669f94f0008e [2023-05-03T23:55:26.876Z] $ docker rm -f --volumes 742536534ece1dffecc10d3cee206a1e49ab46d66fa9d99739d1669f94f0008e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-03T23:55:27.836Z] provisioning config files... [2023-05-03T23:55:27.843Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-338@tmp/config15175717366531357401tmp [Pipeline] { [Pipeline] sh [2023-05-03T23:55:28.174Z] + set +x [2023-05-03T23:55:28.174Z] + curl -s https://codecov.io/bash [2023-05-03T23:55:28.174Z] + bash -s -- [2023-05-03T23:55:28.174Z] [2023-05-03T23:55:28.174Z] _____ _ [2023-05-03T23:55:28.174Z] / ____| | | [2023-05-03T23:55:28.174Z] | | ___ __| | ___ ___ _____ __ [2023-05-03T23:55:28.174Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-03T23:55:28.174Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-03T23:55:28.174Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-03T23:55:28.174Z] Bash-1.0.6 [2023-05-03T23:55:28.174Z] [2023-05-03T23:55:28.174Z] [2023-05-03T23:55:28.174Z] ==> git version 2.25.1 found [2023-05-03T23:55:28.174Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-03T23:55:28.174Z] Release-Date: 2020-01-08 [2023-05-03T23:55:28.174Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-03T23:55:28.174Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-03T23:55:28.174Z] ==> Jenkins CI detected. [2023-05-03T23:55:28.174Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-338 [2023-05-03T23:55:28.174Z] project root: . [2023-05-03T23:55:28.174Z] --> token set from env [2023-05-03T23:55:28.174Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-03T23:55:28.174Z] ==> Running gcov in . (disable via -X gcov) [2023-05-03T23:55:28.174Z] ==> Python coveragepy not found [2023-05-03T23:55:28.174Z] ==> Searching for coverage reports in: [2023-05-03T23:55:28.174Z] + . [2023-05-03T23:55:28.174Z] -> Found 1 reports [2023-05-03T23:55:28.174Z] ==> Detecting git/mercurial file structure [2023-05-03T23:55:28.174Z] ==> Reading reports [2023-05-03T23:55:28.174Z] + ./coverage.out bytes=79191 [2023-05-03T23:55:28.174Z] ==> Appending adjustments [2023-05-03T23:55:28.174Z] https://docs.codecov.io/docs/fixing-reports [2023-05-03T23:55:28.434Z] + Found adjustments [2023-05-03T23:55:28.434Z] ==> Gzipping contents [2023-05-03T23:55:28.434Z] 12K /tmp/codecov.eYs2yJ.gz [2023-05-03T23:55:28.434Z] ==> Uploading reports [2023-05-03T23:55:28.434Z] url: https://codecov.io [2023-05-03T23:55:28.434Z] query: branch=PR-338&commit=fd861e7e8395d453402c3398e8094ef5997626d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-338%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=338&job=&cmd_args= [2023-05-03T23:55:28.434Z] -> Pinging Codecov [2023-05-03T23:55:28.434Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-338&commit=fd861e7e8395d453402c3398e8094ef5997626d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-338%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=338&job=&cmd_args= [2023-05-03T23:55:28.693Z] -> Uploading to [2023-05-03T23:55:28.693Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-03/F29A59C45E3A92E06B3E522C9905F8EF/fd861e7e8395d453402c3398e8094ef5997626d0/cca06cbd-f31e-4aaa-ae01-0491b5bc0ab6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T235528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f2653bbcc9462286853923d820b847ed8b862fb17e136d3fe02d3de79528ccae [2023-05-03T23:55:28.693Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T23:55:28.693Z] Dload Upload Total Spent Left Speed [2023-05-03T23:55:28.693Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10518 0 0 100 10518 0 47378 --:--:-- --:--:-- --:--:-- 47378 [2023-05-03T23:55:28.952Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/fd861e7e8395d453402c3398e8094ef5997626d0 [Pipeline] } [2023-05-03T23:55:28.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-03T23:55:30.803Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-338/archives ] [2023-05-03T23:55:30.803Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-338/archives [2023-05-03T23:55:30.803Z] total 16 [2023-05-03T23:55:30.803Z] drwxr-xr-x 3 root root 4096 May 3 23:44 . [2023-05-03T23:55:30.803Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 23:44 .. [2023-05-03T23:55:30.803Z] drwxr-xr-x 2 root root 4096 May 3 23:44 cost [2023-05-03T23:55:30.803Z] -rw-r--r-- 1 root root 91 May 3 23:44 cost.csv [2023-05-03T23:55:30.803Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-338/archives [2023-05-03T23:55:30.803Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-338/archives [2023-05-03T23:55:30.803Z] total 16 [2023-05-03T23:55:30.803Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 23:44 . [2023-05-03T23:55:30.803Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 23:44 .. [2023-05-03T23:55:30.803Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 23:44 cost [2023-05-03T23:55:30.803Z] -rw-r--r-- 1 jenkins jenkins 91 May 3 23:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:55:31.131Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:55:32.025Z] ---> package-listing.sh [2023-05-03T23:55:32.025Z] ++ facter osfamily [2023-05-03T23:55:32.025Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-03T23:55:32.285Z] + OS_FAMILY=debian [2023-05-03T23:55:32.285Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-338 [2023-05-03T23:55:32.285Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-03T23:55:32.285Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-03T23:55:32.285Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-03T23:55:32.285Z] + PACKAGES=/tmp/packages_start.txt [2023-05-03T23:55:32.285Z] + '[' /w/workspace/undry_device-onvif-camera_PR-338 ']' [2023-05-03T23:55:32.285Z] + PACKAGES=/tmp/packages_end.txt [2023-05-03T23:55:32.285Z] + case "${OS_FAMILY}" in [2023-05-03T23:55:32.285Z] + dpkg -l [2023-05-03T23:55:32.285Z] + grep '^ii' [2023-05-03T23:55:32.285Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-03T23:55:32.285Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-03T23:55:32.285Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-03T23:55:32.285Z] + '[' /w/workspace/undry_device-onvif-camera_PR-338 ']' [2023-05-03T23:55:32.285Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-338/archives/ [2023-05-03T23:55:32.285Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-338/archives/ [Pipeline] echo [2023-05-03T23:55:32.318Z] 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-338/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-03T23:55:32.609Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T23:55:33.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T23:55:33.237Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T23:55:33.396Z] prd-ubuntu20.04-docker-8c-8g-12648 does not seem to be running inside a container [2023-05-03T23:55:33.434Z] $ 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-338/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-338 -v /w/workspace/undry_device-onvif-camera_PR-338:/w/workspace/undry_device-onvif-camera_PR-338:rw,z -v /w/workspace/undry_device-onvif-camera_PR-338@tmp:/w/workspace/undry_device-onvif-camera_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-03T23:55:33.620Z] $ docker top ea31363a466bca760101c8825edaa39bea4a704c022e9059aafcd44fe692b7d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T23:55:34.013Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-03T23:55:34.321Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-03T23:55:34.632Z] + ls /var/log/sa-host [2023-05-03T23:55:34.633Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T23:55:34.767Z] provisioning config files... [2023-05-03T23:55:34.775Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-338@tmp/config16111433504883101277tmp [Pipeline] { [Pipeline] echo [2023-05-03T23:55:34.822Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:55:35.134Z] ---> create-netrc.sh [Pipeline] } [2023-05-03T23:55:35.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:55:35.562Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-03T23:55:35.599Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:55:35.908Z] ---> sudo-logs.sh [2023-05-03T23:55:35.909Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-03T23:55:35.987Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:55:36.306Z] ---> job-cost.sh [2023-05-03T23:55:36.306Z] lf-activate-venv: SKIPPING [2023-05-03T23:55:36.306Z] DEBUG: total: 0.2199999988079071 [2023-05-03T23:55:36.306Z] INFO: Retrieving Stack Cost... [2023-05-03T23:55:36.565Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T23:55:37.136Z] INFO: Archiving Costs [Pipeline] echo [2023-05-03T23:55:37.168Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T23:55:37.487Z] ---> logs-deploy.sh [2023-05-03T23:55:37.488Z] lf-activate-venv: SKIPPING [2023-05-03T23:55:37.488Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-338/1 [2023-05-03T23:55:37.488Z] INFO: archiving workspace using pattern(s): [2023-05-03T23:55:38.424Z] Archives upload complete. [2023-05-03T23:55:38.684Z] INFO: archiving logs to Nexus [2023-05-03T23:55:39.252Z] ---> uname -a: [2023-05-03T23:55:39.252Z] Linux prd-ubuntu20-04-docker-8c-8g-12648 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-05-03T23:55:39.252Z] [2023-05-03T23:55:39.252Z] [2023-05-03T23:55:39.252Z] ---> lscpu: [2023-05-03T23:55:39.252Z] Architecture: x86_64 [2023-05-03T23:55:39.252Z] CPU op-mode(s): 32-bit, 64-bit [2023-05-03T23:55:39.252Z] Byte Order: Little Endian [2023-05-03T23:55:39.252Z] Address sizes: 40 bits physical, 48 bits virtual [2023-05-03T23:55:39.252Z] CPU(s): 8 [2023-05-03T23:55:39.252Z] On-line CPU(s) list: 0-7 [2023-05-03T23:55:39.252Z] Thread(s) per core: 1 [2023-05-03T23:55:39.252Z] Core(s) per socket: 1 [2023-05-03T23:55:39.252Z] Socket(s): 8 [2023-05-03T23:55:39.252Z] NUMA node(s): 1 [2023-05-03T23:55:39.252Z] Vendor ID: AuthenticAMD [2023-05-03T23:55:39.252Z] CPU family: 23 [2023-05-03T23:55:39.252Z] Model: 49 [2023-05-03T23:55:39.252Z] Model name: AMD EPYC-Rome Processor [2023-05-03T23:55:39.252Z] Stepping: 0 [2023-05-03T23:55:39.252Z] CPU MHz: 2799.998 [2023-05-03T23:55:39.252Z] BogoMIPS: 5599.99 [2023-05-03T23:55:39.252Z] Virtualization: AMD-V [2023-05-03T23:55:39.252Z] Hypervisor vendor: KVM [2023-05-03T23:55:39.252Z] Virtualization type: full [2023-05-03T23:55:39.252Z] L1d cache: 256 KiB [2023-05-03T23:55:39.252Z] L1i cache: 256 KiB [2023-05-03T23:55:39.252Z] L2 cache: 4 MiB [2023-05-03T23:55:39.252Z] L3 cache: 128 MiB [2023-05-03T23:55:39.252Z] NUMA node0 CPU(s): 0-7 [2023-05-03T23:55:39.252Z] Vulnerability Itlb multihit: Not affected [2023-05-03T23:55:39.252Z] Vulnerability L1tf: Not affected [2023-05-03T23:55:39.252Z] Vulnerability Mds: Not affected [2023-05-03T23:55:39.252Z] Vulnerability Meltdown: Not affected [2023-05-03T23:55:39.252Z] Vulnerability Mmio stale data: Not affected [2023-05-03T23:55:39.252Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-05-03T23:55:39.252Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-05-03T23:55:39.252Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-05-03T23:55:39.252Z] Vulnerability Srbds: Not affected [2023-05-03T23:55:39.252Z] Vulnerability Tsx async abort: Not affected [2023-05-03T23:55:39.253Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-05-03T23:55:39.253Z] [2023-05-03T23:55:39.253Z] [2023-05-03T23:55:39.253Z] ---> nproc: [2023-05-03T23:55:39.253Z] 8 [2023-05-03T23:55:39.253Z] [2023-05-03T23:55:39.253Z] [2023-05-03T23:55:39.253Z] ---> df -h: [2023-05-03T23:55:39.253Z] Filesystem Size Used Avail Use% Mounted on [2023-05-03T23:55:39.253Z] overlay 155G 12G 144G 8% / [2023-05-03T23:55:39.253Z] tmpfs 64M 0 64M 0% /dev [2023-05-03T23:55:39.253Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-05-03T23:55:39.253Z] shm 64M 0 64M 0% /dev/shm [2023-05-03T23:55:39.253Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-05-03T23:55:39.253Z] [2023-05-03T23:55:39.253Z]