Pull request #462 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df34815b26025a63dc3d3e20ee079897389c89bf+ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b (3f631e8e7b56c01d77a6d6cabfd4ccbb3831a4e4) 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-ssh18010090718767982554.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh17135159662230070264.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-462/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-462/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9396686222367364020.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-462/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15706293170586802897.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh6792417056205718589.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-462/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-462/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16495760535641907525.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 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21979 in /w/workspace/undry_device-onvif-camera_PR-462 [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-462 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b into PR head commit df34815b26025a63dc3d3e20ee079897389c89bf Merge succeeded, producing df34815b26025a63dc3d3e20ee079897389c89bf Checking out Revision df34815b26025a63dc3d3e20ee079897389c89bf (PR-462) 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 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f df34815b26025a63dc3d3e20ee079897389c89bf # 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 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df34815b26025a63dc3d3e20ee079897389c89bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-07T03:31:27.574Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-07T03:31:27.795Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-07T03:31:27.916Z] ========================================================= [2024-10-07T03:31:27.916Z] EdgeX Global Pipelines Version Info [2024-10-07T03:31:27.916Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:31:28.693Z] ------------------- [2024-10-07T03:31:28.693Z] stable info: [2024-10-07T03:31:28.693Z] ------------------- [2024-10-07T03:31:28.693Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-07T03:31:28.693Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T03:31:28.693Z] Message: update stable to v1.0.265 [2024-10-07T03:31:29.264Z] ------------------- [2024-10-07T03:31:29.264Z] experimental info: [2024-10-07T03:31:29.264Z] ------------------- [2024-10-07T03:31:29.264Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-07T03:31:29.264Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-07T03:31:29.264Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-07T03:31:29.500Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-10-07T03:31:29.559Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-10-07T03:31:29.617Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-07T03:31:29.677Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-07T03:31:29.735Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-07T03:31:29.793Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-07T03:31:29.856Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-07T03:31:29.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-07T03:31:29.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-07T03:31:30.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-07T03:31:30.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-07T03:31:30.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-10-07T03:31:30.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-07T03:31:30.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-07T03:31:30.327Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T03:31:30.387Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T03:31:30.440Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T03:31:30.495Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T03:31:30.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-07T03:31:30.611Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-07T03:31:30.666Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-07T03:31:30.722Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-10-07T03:31:30.785Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-07T03:31:30.840Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-07T03:31:30.898Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-07T03:31:30.957Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-07T03:31:31.014Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-07T03:31:31.071Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-462 [Pipeline] echo [2024-10-07T03:31:31.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-462 [Pipeline] echo [2024-10-07T03:31:31.186Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-462 [Pipeline] echo [2024-10-07T03:31:31.247Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df34815b26025a63dc3d3e20ee079897389c89bf [Pipeline] echo [2024-10-07T03:31:31.302Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df34815 [Pipeline] echo [2024-10-07T03:31:31.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T03:31:31.504Z] provisioning config files... [2024-10-07T03:31:31.519Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-462@tmp/config322513513585631277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:31:31.908Z] ---> ****-login.sh [2024-10-07T03:31:31.908Z] nexus3.edgexfoundry.org:10001 [2024-10-07T03:31:32.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:32.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:32.169Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:32.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:32.169Z] [2024-10-07T03:31:32.169Z] Login Succeeded [2024-10-07T03:31:32.169Z] nexus3.edgexfoundry.org:10002 [2024-10-07T03:31:32.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:32.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:32.431Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:32.431Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:32.431Z] [2024-10-07T03:31:32.431Z] Login Succeeded [2024-10-07T03:31:32.431Z] nexus3.edgexfoundry.org:10003 [2024-10-07T03:31:32.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:32.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:32.431Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:32.431Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:32.431Z] [2024-10-07T03:31:32.431Z] Login Succeeded [2024-10-07T03:31:32.432Z] nexus3.edgexfoundry.org:10004 [2024-10-07T03:31:32.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:32.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:32.693Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:32.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:32.693Z] [2024-10-07T03:31:32.693Z] Login Succeeded [2024-10-07T03:31:32.693Z] ****.io [2024-10-07T03:31:32.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:32.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:32.957Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:32.957Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:32.957Z] [2024-10-07T03:31:32.957Z] Login Succeeded [2024-10-07T03:31:32.957Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T03:31:32.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-07T03:31:33.687Z] + git rev-list -1 --merges df34815b26025a63dc3d3e20ee079897389c89bf~1..df34815b26025a63dc3d3e20ee079897389c89bf [Pipeline] echo [2024-10-07T03:31:33.734Z] -----------> git rev-list -1 --merges df34815b26025a63dc3d3e20ee079897389c89bf~1..df34815b26025a63dc3d3e20ee079897389c89bf df34815b26025a63dc3d3e20ee079897389c89bf [false] [Pipeline] sh [2024-10-07T03:31:34.053Z] + git log --format=format:%s -1 df34815b26025a63dc3d3e20ee079897389c89bf [Pipeline] echo [2024-10-07T03:31:34.091Z] ========================================================= [2024-10-07T03:31:34.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-07T03:31:34.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T03:31:34.538Z] + git log --format=format:%s -1 df34815b26025a63dc3d3e20ee079897389c89bf [Pipeline] echo [2024-10-07T03:31:34.580Z] [semverPrep] GIT_COMMIT: df34815b26025a63dc3d3e20ee079897389c89bf, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-07T03:31:34.622Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-07T03:31:35.038Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-07T03:31:35.038Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-07T03:31:35.038Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-07T03:31:35.038Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-07T03:31:35.038Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-07T03:31:35.038Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-07T03:31:35.038Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:31:35.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T03:31:35.552Z] [2024-10-07T03:31:35.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:31:35.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T03:31:35.966Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-07T03:31:35.966Z] b85a868b505f: Pulling fs layer [2024-10-07T03:31:35.966Z] e2be974225ed: Pulling fs layer [2024-10-07T03:31:35.966Z] 339a4e72a1f5: Pulling fs layer [2024-10-07T03:31:35.966Z] 988bab9f4d93: Pulling fs layer [2024-10-07T03:31:35.966Z] 1469e6f7b9e6: Pulling fs layer [2024-10-07T03:31:35.966Z] eaf3925da568: Pulling fs layer [2024-10-07T03:31:35.966Z] bab4dde63d76: Pulling fs layer [2024-10-07T03:31:35.966Z] bde34c3a00c8: Pulling fs layer [2024-10-07T03:31:35.966Z] b352a97aabf1: Pulling fs layer [2024-10-07T03:31:35.966Z] 4872d77fe225: Pulling fs layer [2024-10-07T03:31:35.966Z] 5851b861e8e6: Pulling fs layer [2024-10-07T03:31:35.966Z] 1469e6f7b9e6: Waiting [2024-10-07T03:31:35.966Z] eaf3925da568: Waiting [2024-10-07T03:31:35.966Z] bab4dde63d76: Waiting [2024-10-07T03:31:35.966Z] bde34c3a00c8: Waiting [2024-10-07T03:31:35.966Z] b352a97aabf1: Waiting [2024-10-07T03:31:35.966Z] 4872d77fe225: Waiting [2024-10-07T03:31:35.966Z] 988bab9f4d93: Waiting [2024-10-07T03:31:35.966Z] 5851b861e8e6: Waiting [2024-10-07T03:31:35.966Z] e2be974225ed: Verifying Checksum [2024-10-07T03:31:35.966Z] e2be974225ed: Download complete [2024-10-07T03:31:35.966Z] 988bab9f4d93: Verifying Checksum [2024-10-07T03:31:35.966Z] 988bab9f4d93: Download complete [2024-10-07T03:31:35.966Z] 339a4e72a1f5: Verifying Checksum [2024-10-07T03:31:35.966Z] 339a4e72a1f5: Download complete [2024-10-07T03:31:35.966Z] 1469e6f7b9e6: Verifying Checksum [2024-10-07T03:31:35.966Z] 1469e6f7b9e6: Download complete [2024-10-07T03:31:36.226Z] eaf3925da568: Verifying Checksum [2024-10-07T03:31:36.226Z] eaf3925da568: Download complete [2024-10-07T03:31:36.226Z] bde34c3a00c8: Download complete [2024-10-07T03:31:36.226Z] b352a97aabf1: Download complete [2024-10-07T03:31:36.226Z] 4872d77fe225: Verifying Checksum [2024-10-07T03:31:36.226Z] 4872d77fe225: Download complete [2024-10-07T03:31:36.226Z] 5851b861e8e6: Verifying Checksum [2024-10-07T03:31:36.226Z] 5851b861e8e6: Download complete [2024-10-07T03:31:36.226Z] b85a868b505f: Verifying Checksum [2024-10-07T03:31:36.226Z] b85a868b505f: Download complete [2024-10-07T03:31:36.486Z] bab4dde63d76: Verifying Checksum [2024-10-07T03:31:36.486Z] bab4dde63d76: Download complete [2024-10-07T03:31:37.423Z] b85a868b505f: Pull complete [2024-10-07T03:31:37.683Z] e2be974225ed: Pull complete [2024-10-07T03:31:37.945Z] 339a4e72a1f5: Pull complete [2024-10-07T03:31:37.945Z] 988bab9f4d93: Pull complete [2024-10-07T03:31:38.205Z] 1469e6f7b9e6: Pull complete [2024-10-07T03:31:38.465Z] eaf3925da568: Pull complete [2024-10-07T03:31:40.414Z] bab4dde63d76: Pull complete [2024-10-07T03:31:40.414Z] bde34c3a00c8: Pull complete [2024-10-07T03:31:40.414Z] b352a97aabf1: Pull complete [2024-10-07T03:31:40.414Z] 4872d77fe225: Pull complete [2024-10-07T03:31:40.414Z] 5851b861e8e6: Pull complete [2024-10-07T03:31:40.414Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-07T03:31:40.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T03:31:40.414Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T03:31:40.730Z] prd-ubuntu20.04-docker-8c-8g-21979 does not seem to be running inside a container [2024-10-07T03:31:40.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-462 -v /w/workspace/undry_device-onvif-camera_PR-462:/w/workspace/undry_device-onvif-camera_PR-462:rw,z -v /w/workspace/undry_device-onvif-camera_PR-462@tmp:/w/workspace/undry_device-onvif-camera_PR-462@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 [2024-10-07T03:31:43.872Z] $ docker top c9c2b5b446142540149d5fb6bb4c66ee854afd0925a39728ebf619842fc1d59d -eo pid,comm [2024-10-07T03:31:43.922Z] 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). [2024-10-07T03:31:43.922Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-07T03:31:44.093Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T03:31:44.093Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T03:31:44.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T03:31:44.216Z] $ docker exec c9c2b5b446142540149d5fb6bb4c66ee854afd0925a39728ebf619842fc1d59d ssh-agent [2024-10-07T03:31:44.322Z] SSH_AUTH_SOCK=/tmp/ssh-f2Tsojcp10Jq/agent.32 [2024-10-07T03:31:44.322Z] SSH_AGENT_PID=37 [2024-10-07T03:31:44.330Z] Running ssh-add (command line suppressed) [2024-10-07T03:31:44.447Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-462@tmp/private_key_10424776959674920001.key (/w/workspace/undry_device-onvif-camera_PR-462@tmp/private_key_10424776959674920001.key) [2024-10-07T03:31:44.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T03:31:44.812Z] + git tag --points-at HEAD [Pipeline] } [2024-10-07T03:31:44.841Z] $ docker exec --env ******** --env ******** c9c2b5b446142540149d5fb6bb4c66ee854afd0925a39728ebf619842fc1d59d ssh-agent -k [2024-10-07T03:31:44.949Z] unset SSH_AUTH_SOCK; [2024-10-07T03:31:44.949Z] unset SSH_AGENT_PID; [2024-10-07T03:31:44.949Z] echo Agent pid 37 killed; [2024-10-07T03:31:44.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-07T03:31:45.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T03:31:45.082Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T03:31:45.204Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T03:31:45.210Z] $ docker exec c9c2b5b446142540149d5fb6bb4c66ee854afd0925a39728ebf619842fc1d59d ssh-agent [2024-10-07T03:31:45.320Z] SSH_AUTH_SOCK=/tmp/ssh-2fy0FDxfRPDL/agent.70 [2024-10-07T03:31:45.320Z] SSH_AGENT_PID=76 [2024-10-07T03:31:45.324Z] Running ssh-add (command line suppressed) [2024-10-07T03:31:45.427Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-462@tmp/private_key_15409349855800133984.key (/w/workspace/undry_device-onvif-camera_PR-462@tmp/private_key_15409349855800133984.key) [2024-10-07T03:31:45.439Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T03:31:45.790Z] + git semver init [2024-10-07T03:31:46.050Z] 2024-10-07 03:31:45,965 [run_init] DEBUG init version:0.0.0 force:False [2024-10-07T03:31:46.050Z] 2024-10-07 03:31:45,966 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-462/.semver [2024-10-07T03:31:46.050Z] 2024-10-07 03:31:45,966 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-462/.semver [2024-10-07T03:31:46.050Z] 2024-10-07 03:31:45,967 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-462/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-462, universal_newlines=False, shell=None, istream=None) [2024-10-07T03:31:47.472Z] 2024-10-07 03:31:47,190 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-462/.git/info/exclude [2024-10-07T03:31:47.472Z] 2024-10-07 03:31:47,191 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-462/.semver/PR-462 with force:False [2024-10-07T03:31:47.472Z] 2024-10-07 03:31:47,191 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-462/.semver/PR-462 [2024-10-07T03:31:47.472Z] 2024-10-07 03:31:47,195 [execute] INFO git cat-file --batch-check [2024-10-07T03:31:47.472Z] 2024-10-07 03:31:47,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-462/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T03:31:47.472Z] 2024-10-07 03:31:47,204 [execute] INFO git cat-file --batch [2024-10-07T03:31:47.472Z] 2024-10-07 03:31:47,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-462/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T03:31:47.472Z] 2024-10-07 03:31:47,209 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-462/.semver/PR-462 [2024-10-07T03:31:47.472Z] 0.0.0 [Pipeline] } [2024-10-07T03:31:47.500Z] $ docker exec --env ******** --env ******** c9c2b5b446142540149d5fb6bb4c66ee854afd0925a39728ebf619842fc1d59d ssh-agent -k [2024-10-07T03:31:47.610Z] unset SSH_AUTH_SOCK; [2024-10-07T03:31:47.610Z] unset SSH_AGENT_PID; [2024-10-07T03:31:47.610Z] echo Agent pid 76 killed; [2024-10-07T03:31:47.619Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-07T03:31:48.105Z] + git semver [Pipeline] } [2024-10-07T03:31:48.396Z] $ docker stop --time=1 c9c2b5b446142540149d5fb6bb4c66ee854afd0925a39728ebf619842fc1d59d [2024-10-07T03:31:49.713Z] $ docker rm -f --volumes c9c2b5b446142540149d5fb6bb4c66ee854afd0925a39728ebf619842fc1d59d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T03:31:50.146Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-07T03:31:50.461Z] Stashed 1 file(s) [Pipeline] echo [2024-10-07T03:31:50.487Z] [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 [2024-10-07T03:31:51.204Z] provisioning config files... [2024-10-07T03:31:51.213Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-462@tmp/config11691926827589243527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:31:51.592Z] ---> ****-login.sh [2024-10-07T03:31:51.593Z] nexus3.edgexfoundry.org:10001 [2024-10-07T03:31:51.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:51.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:51.593Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:51.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:51.593Z] [2024-10-07T03:31:51.593Z] Login Succeeded [2024-10-07T03:31:51.593Z] nexus3.edgexfoundry.org:10002 [2024-10-07T03:31:51.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:51.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:51.593Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:51.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:51.593Z] [2024-10-07T03:31:51.593Z] Login Succeeded [2024-10-07T03:31:51.593Z] nexus3.edgexfoundry.org:10003 [2024-10-07T03:31:51.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:51.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:51.853Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:51.853Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:51.853Z] [2024-10-07T03:31:51.853Z] Login Succeeded [2024-10-07T03:31:51.853Z] nexus3.edgexfoundry.org:10004 [2024-10-07T03:31:51.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:51.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:51.853Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:51.853Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:51.853Z] [2024-10-07T03:31:51.853Z] Login Succeeded [2024-10-07T03:31:51.853Z] ****.io [2024-10-07T03:31:52.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:31:52.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:31:52.113Z] Configure a credential helper to remove this warning. See [2024-10-07T03:31:52.113Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:31:52.113Z] [2024-10-07T03:31:52.113Z] Login Succeeded [2024-10-07T03:31:52.113Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T03:31:52.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T03:31:52.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T03:31:52.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T03:31:52.502Z] ========================================================= [2024-10-07T03:31:52.502Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-07T03:31:52.502Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:31:53.025Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-07T03:31:53.025Z] Sending build context to Docker daemon 36.74MB [2024-10-07T03:31:53.025Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T03:31:53.025Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-07T03:31:53.285Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-07T03:31:53.285Z] 43c4264eed91: Pulling fs layer [2024-10-07T03:31:53.285Z] 4cc291be95ef: Pulling fs layer [2024-10-07T03:31:53.285Z] 2ac1f1163629: Pulling fs layer [2024-10-07T03:31:53.285Z] 5c3c966382ef: Pulling fs layer [2024-10-07T03:31:53.285Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T03:31:53.285Z] 5d5c8e513c77: Pulling fs layer [2024-10-07T03:31:53.285Z] 9f66e0745190: Pulling fs layer [2024-10-07T03:31:53.285Z] f49a43e4bbc0: Pulling fs layer [2024-10-07T03:31:53.285Z] 561ebcabdf7f: Pulling fs layer [2024-10-07T03:31:53.285Z] 5c3c966382ef: Waiting [2024-10-07T03:31:53.285Z] 4f4fb700ef54: Waiting [2024-10-07T03:31:53.285Z] 9f66e0745190: Waiting [2024-10-07T03:31:53.285Z] 5d5c8e513c77: Waiting [2024-10-07T03:31:53.285Z] f49a43e4bbc0: Waiting [2024-10-07T03:31:53.285Z] 561ebcabdf7f: Waiting [2024-10-07T03:31:53.285Z] 4cc291be95ef: Verifying Checksum [2024-10-07T03:31:53.285Z] 4cc291be95ef: Download complete [2024-10-07T03:31:53.285Z] 5c3c966382ef: Verifying Checksum [2024-10-07T03:31:53.285Z] 5c3c966382ef: Download complete [2024-10-07T03:31:53.285Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T03:31:53.285Z] 4f4fb700ef54: Download complete [2024-10-07T03:31:53.285Z] 43c4264eed91: Verifying Checksum [2024-10-07T03:31:53.285Z] 43c4264eed91: Download complete [2024-10-07T03:31:53.285Z] 5d5c8e513c77: Download complete [2024-10-07T03:31:53.285Z] 9f66e0745190: Verifying Checksum [2024-10-07T03:31:53.285Z] 9f66e0745190: Download complete [2024-10-07T03:31:53.544Z] 43c4264eed91: Pull complete [2024-10-07T03:31:53.544Z] 561ebcabdf7f: Verifying Checksum [2024-10-07T03:31:53.544Z] 561ebcabdf7f: Download complete [2024-10-07T03:31:53.544Z] 4cc291be95ef: Pull complete [2024-10-07T03:31:53.806Z] 2ac1f1163629: Verifying Checksum [2024-10-07T03:31:53.806Z] 2ac1f1163629: Download complete [2024-10-07T03:31:54.064Z] f49a43e4bbc0: Verifying Checksum [2024-10-07T03:31:54.064Z] f49a43e4bbc0: Download complete [2024-10-07T03:31:57.346Z] 2ac1f1163629: Pull complete [2024-10-07T03:31:57.605Z] 5c3c966382ef: Pull complete [2024-10-07T03:31:57.605Z] 4f4fb700ef54: Pull complete [2024-10-07T03:31:57.605Z] 5d5c8e513c77: Pull complete [2024-10-07T03:31:57.864Z] 9f66e0745190: Pull complete [2024-10-07T03:32:00.390Z] f49a43e4bbc0: Pull complete [2024-10-07T03:32:00.390Z] 561ebcabdf7f: Pull complete [2024-10-07T03:32:00.390Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-07T03:32:00.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-07T03:32:00.651Z] ---> 3a752c3f9dda [2024-10-07T03:32:00.651Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-07T03:32:06.001Z] Still waiting to schedule task [2024-10-07T03:32:06.002Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-07T03:32:07.241Z] ---> Running in c4d0fa25cd91 [2024-10-07T03:32:07.241Z] Removing intermediate container c4d0fa25cd91 [2024-10-07T03:32:07.241Z] ---> 8b3564ab1be5 [2024-10-07T03:32:07.241Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T03:32:07.241Z] ---> Running in 063990c83a7c [2024-10-07T03:32:07.241Z] Removing intermediate container 063990c83a7c [2024-10-07T03:32:07.241Z] ---> 43cd5ecd7516 [2024-10-07T03:32:07.241Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-07T03:32:07.241Z] ---> Running in 8dcca7ba773a [2024-10-07T03:32:07.241Z] Removing intermediate container 8dcca7ba773a [2024-10-07T03:32:07.241Z] ---> 08a8e009f7cf [2024-10-07T03:32:07.241Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T03:32:07.241Z] ---> Running in 86ab53f87054 [2024-10-07T03:32:07.241Z] Removing intermediate container 86ab53f87054 [2024-10-07T03:32:07.241Z] ---> 73057010ff83 [2024-10-07T03:32:07.241Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-07T03:32:07.241Z] ---> Running in ec5283a52042 [2024-10-07T03:32:07.241Z] Removing intermediate container ec5283a52042 [2024-10-07T03:32:07.241Z] ---> e45422257568 [2024-10-07T03:32:07.241Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T03:32:07.241Z] ---> Running in 6376d2cfdcfc [2024-10-07T03:32:07.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T03:32:07.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T03:32:07.758Z] OK: 246 MiB in 54 packages [2024-10-07T03:32:08.017Z] Removing intermediate container 6376d2cfdcfc [2024-10-07T03:32:08.017Z] ---> e137be1c88c2 [2024-10-07T03:32:08.017Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-07T03:32:08.017Z] ---> Running in c6e2282f154c [2024-10-07T03:32:08.017Z] Removing intermediate container c6e2282f154c [2024-10-07T03:32:08.017Z] ---> d3d2595afee8 [2024-10-07T03:32:08.017Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-07T03:32:08.276Z] ---> 089141cda0eb [2024-10-07T03:32:08.276Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T03:32:08.276Z] ---> Running in 0a00945e17b0 [2024-10-07T03:33:16.314Z] Removing intermediate container 0a00945e17b0 [2024-10-07T03:33:16.314Z] ---> 7e3ac87ab644 [2024-10-07T03:33:16.314Z] Step 12/13 : COPY . . [2024-10-07T03:33:16.314Z] ---> 7373e520ba81 [2024-10-07T03:33:16.314Z] Step 13/13 : RUN ${MAKE} [2024-10-07T03:33:16.314Z] ---> Running in 86d88da14764 [2024-10-07T03:33:16.314Z] noop [2024-10-07T03:33:16.314Z] Removing intermediate container 86d88da14764 [2024-10-07T03:33:16.314Z] ---> dec353e4bca2 [2024-10-07T03:33:16.314Z] Successfully built dec353e4bca2 [2024-10-07T03:33:16.314Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:33:16.828Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T03:33:16.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T03:33:17.006Z] prd-ubuntu20.04-docker-8c-8g-21979 does not seem to be running inside a container [2024-10-07T03:33:17.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-462 -v /w/workspace/undry_device-onvif-camera_PR-462:/w/workspace/undry_device-onvif-camera_PR-462:rw,z -v /w/workspace/undry_device-onvif-camera_PR-462@tmp:/w/workspace/undry_device-onvif-camera_PR-462@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 [2024-10-07T03:33:17.369Z] $ docker top 45dbcf865abb6d62e3c96799fdff1bf0c5280a598506577440436ff1954435dc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T03:33:17.773Z] + go version [2024-10-07T03:33:17.773Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-07T03:33:17.818Z] $ docker stop --time=1 45dbcf865abb6d62e3c96799fdff1bf0c5280a598506577440436ff1954435dc [2024-10-07T03:33:19.096Z] $ docker rm -f --volumes 45dbcf865abb6d62e3c96799fdff1bf0c5280a598506577440436ff1954435dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:33:19.900Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T03:33:19.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T03:33:20.083Z] prd-ubuntu20.04-docker-8c-8g-21979 does not seem to be running inside a container [2024-10-07T03:33:20.113Z] $ 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-462 -v /w/workspace/undry_device-onvif-camera_PR-462:/w/workspace/undry_device-onvif-camera_PR-462:rw,z -v /w/workspace/undry_device-onvif-camera_PR-462@tmp:/w/workspace/undry_device-onvif-camera_PR-462@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 [2024-10-07T03:33:20.465Z] $ docker top 62ae2920d7334380f24be6f9e09ebfcea4adc96e7f0a5ac98e745734d86ba26a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T03:33:20.877Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-462 [Pipeline] fileExists [Pipeline] sh [2024-10-07T03:33:21.259Z] + make test [2024-10-07T03:33:21.259Z] go test ./... -coverprofile=coverage.out ./... [2024-10-07T03:33:23.162Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-07T03:33:42.548Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21980 in /w/workspace/undry_device-onvif-camera_PR-462 [Pipeline] { [Pipeline] ws [2024-10-07T03:33:42.626Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-10-07T03:33:45.085Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-07T03:33:45.085Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-07T03:33:45.085Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.024s coverage: 31.4% of statements [2024-10-07T03:33:45.085Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.440s coverage: 86.5% of statements [2024-10-07T03:33:45.874Z] The recommended git tool is: git [2024-10-07T03:33:54.217Z] using credential edgex-jenkins-ssh [2024-10-07T03:33:54.242Z] Cloning the remote Git repository [2024-10-07T03:33:54.341Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-07T03:33:54.494Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-10-07T03:33:54.645Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-07T03:33:54.646Z] > git --version # timeout=10 [2024-10-07T03:33:54.684Z] > git --version # 'git version 2.25.1' [2024-10-07T03:33:54.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T03:33:54.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T03:33:55.065Z] go vet ./... [2024-10-07T03:33:57.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-07T03:33:57.979Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T03:33:59.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-07T03:33:59.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-07T03:33:59.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T03:33:59.144Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-07T03:33:59.658Z] Merging remotes/origin/main commit ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b into PR head commit df34815b26025a63dc3d3e20ee079897389c89bf [2024-10-07T03:34:00.228Z] Merge succeeded, producing df34815b26025a63dc3d3e20ee079897389c89bf [2024-10-07T03:34:00.229Z] Checking out Revision df34815b26025a63dc3d3e20ee079897389c89bf (PR-462) [2024-10-07T03:34:01.051Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-07T03:33:59.676Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T03:33:59.810Z] > git checkout -f df34815b26025a63dc3d3e20ee079897389c89bf # timeout=10 [2024-10-07T03:34:00.058Z] > git remote # timeout=10 [2024-10-07T03:34:00.098Z] > git config --get remote.origin.url # timeout=10 [2024-10-07T03:34:00.131Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T03:34:00.154Z] > git merge ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b # timeout=10 [2024-10-07T03:34:00.188Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-07T03:34:00.235Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T03:34:00.292Z] > git checkout -f df34815b26025a63dc3d3e20ee079897389c89bf # timeout=10 [2024-10-07T03:34:01.113Z] > git --version # timeout=10 [2024-10-07T03:34:01.131Z] > git --version # 'git version 2.25.1' [2024-10-07T03:34:01.157Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T03:34:01.651Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T03:34:01.651Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T03:34:01.651Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T03:34:01.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T03:34:01.745Z] $ docker stop --time=1 62ae2920d7334380f24be6f9e09ebfcea4adc96e7f0a5ac98e745734d86ba26a [2024-10-07T03:34:06.859Z] $ docker rm -f --volumes 62ae2920d7334380f24be6f9e09ebfcea4adc96e7f0a5ac98e745734d86ba26a [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-10-07T03:34:07.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-10-07T03:34:07.886Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [2024-10-07T03:34:08.083Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-07T03:34:08.083Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T03:34:08.083Z] Dload Upload Total Spent Left Speed [2024-10-07T03:34:08.083Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 87265 0 --:--:-- --:--:-- --:--:-- 87265 [Pipeline] { (Build) [Pipeline] sh [Pipeline] sh [2024-10-07T03:34:08.469Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-07T03:34:08.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T03:34:08.882Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-07T03:34:08.882Z] + sudo tee /etc/docker/daemon.new [2024-10-07T03:34:08.882Z] { [2024-10-07T03:34:08.882Z] "registry-mirrors": [ [2024-10-07T03:34:08.882Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-07T03:34:08.882Z] ], [2024-10-07T03:34:08.882Z] "bip": "10.250.0.254/24", [2024-10-07T03:34:08.882Z] "hosts": [ [2024-10-07T03:34:08.882Z] "tcp://0.0.0.0:5555", [2024-10-07T03:34:08.882Z] "unix:///var/run/docker.sock" [2024-10-07T03:34:08.882Z] ], [2024-10-07T03:34:08.882Z] "mtu": 1458, [2024-10-07T03:34:08.882Z] "selinux-enabled": true, [2024-10-07T03:34:08.882Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-07T03:34:08.882Z] } [Pipeline] sh [2024-10-07T03:34:09.078Z] + ls -al . [2024-10-07T03:34:09.078Z] total 328 [2024-10-07T03:34:09.078Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 03:33 . [2024-10-07T03:34:09.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 03:31 .. [2024-10-07T03:34:09.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 03:33 .git [2024-10-07T03:34:09.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 03:31 .github [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 7 03:31 .gitignore [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 03:31 .golangci.yml [2024-10-07T03:34:09.078Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 03:31 .semver [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 7 03:31 Attribution.txt [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 7 03:31 CHANGELOG.md [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 7 03:31 Dockerfile [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 03:31 GOVERNANCE.md [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 7 03:31 Jenkinsfile [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 03:31 LICENSE [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 2883 Oct 7 03:31 Makefile [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 03:31 OWNERS.md [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 7 03:31 README.md [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 03:31 VERSION [2024-10-07T03:34:09.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 03:31 bin [2024-10-07T03:34:09.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 03:31 cmd [2024-10-07T03:34:09.078Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 7 03:33 coverage.out [2024-10-07T03:34:09.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 03:31 doc [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 7 03:31 go.mod [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 7 03:31 go.sum [2024-10-07T03:34:09.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 03:31 internal [2024-10-07T03:34:09.078Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 03:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:34:09.230Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-07T03:34:09.507Z] + 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=df34815b26025a63dc3d3e20ee079897389c89bf --label arch=amd64 --label version=0.0.0 . [2024-10-07T03:34:09.507Z] Sending build context to Docker daemon 36.83MB [2024-10-07T03:34:09.507Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T03:34:09.507Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-07T03:34:09.507Z] ---> dec353e4bca2 [2024-10-07T03:34:09.507Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-07T03:34:09.632Z] + sudo service docker restart [2024-10-07T03:34:10.449Z] ---> Running in b9a4d1e469e2 [2024-10-07T03:34:10.449Z] Removing intermediate container b9a4d1e469e2 [2024-10-07T03:34:10.449Z] ---> ec1346495edf [2024-10-07T03:34:10.449Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T03:34:10.449Z] ---> Running in 56d4e7d5b46f [2024-10-07T03:34:10.710Z] Removing intermediate container 56d4e7d5b46f [2024-10-07T03:34:10.710Z] ---> d4d25f910fe8 [2024-10-07T03:34:10.710Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-07T03:34:10.710Z] ---> Running in f6becb564026 [2024-10-07T03:34:10.710Z] Removing intermediate container f6becb564026 [2024-10-07T03:34:10.710Z] ---> eeaf9d4e401e [2024-10-07T03:34:10.710Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T03:34:10.710Z] ---> Running in 96d2044e6032 [2024-10-07T03:34:10.970Z] Removing intermediate container 96d2044e6032 [2024-10-07T03:34:10.970Z] ---> 5f2298e663aa [2024-10-07T03:34:10.970Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-07T03:34:10.970Z] ---> Running in a022100cb855 [2024-10-07T03:34:10.970Z] Removing intermediate container a022100cb855 [2024-10-07T03:34:10.970Z] ---> 43e9aefbc325 [2024-10-07T03:34:10.970Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T03:34:10.970Z] ---> Running in f24d9f65ec77 [2024-10-07T03:34:11.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T03:34:11.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T03:34:11.493Z] OK: 246 MiB in 54 packages [2024-10-07T03:34:11.754Z] Removing intermediate container f24d9f65ec77 [2024-10-07T03:34:11.754Z] ---> de719534e49a [2024-10-07T03:34:11.754Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-07T03:34:11.754Z] ---> Running in 8dc028c0e143 [2024-10-07T03:34:12.012Z] Removing intermediate container 8dc028c0e143 [2024-10-07T03:34:12.013Z] ---> bdfa29eb17f1 [2024-10-07T03:34:12.013Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-07T03:34:12.013Z] ---> eacb923a1036 [2024-10-07T03:34:12.013Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T03:34:12.013Z] ---> Running in 6e62d45558af [2024-10-07T03:34:12.949Z] Removing intermediate container 6e62d45558af [2024-10-07T03:34:12.949Z] ---> 798cb877d148 [2024-10-07T03:34:12.949Z] Step 12/27 : COPY . . [2024-10-07T03:34:13.889Z] ---> e784fd549dbd [2024-10-07T03:34:13.889Z] Step 13/27 : RUN ${MAKE} [2024-10-07T03:34:13.889Z] ---> Running in 318a5a7e8f38 [2024-10-07T03:34:14.170Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.42" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T03:34:28.008Z] provisioning config files... [2024-10-07T03:34:28.035Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8602520229769788512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:34:28.556Z] ---> ****-login.sh [2024-10-07T03:34:28.556Z] nexus3.edgexfoundry.org:10001 [2024-10-07T03:34:28.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:34:29.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:34:29.100Z] Configure a credential helper to remove this warning. See [2024-10-07T03:34:29.100Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:34:29.100Z] [2024-10-07T03:34:29.100Z] Login Succeeded [2024-10-07T03:34:29.100Z] nexus3.edgexfoundry.org:10002 [2024-10-07T03:34:29.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:34:29.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:34:29.370Z] Configure a credential helper to remove this warning. See [2024-10-07T03:34:29.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:34:29.371Z] [2024-10-07T03:34:29.371Z] Login Succeeded [2024-10-07T03:34:29.371Z] nexus3.edgexfoundry.org:10003 [2024-10-07T03:34:29.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:34:29.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:34:29.919Z] Configure a credential helper to remove this warning. See [2024-10-07T03:34:29.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:34:29.920Z] [2024-10-07T03:34:29.920Z] Login Succeeded [2024-10-07T03:34:29.920Z] nexus3.edgexfoundry.org:10004 [2024-10-07T03:34:29.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:34:30.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:34:30.200Z] Configure a credential helper to remove this warning. See [2024-10-07T03:34:30.200Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:34:30.200Z] [2024-10-07T03:34:30.200Z] Login Succeeded [2024-10-07T03:34:30.200Z] ****.io [2024-10-07T03:34:30.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T03:34:30.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T03:34:30.734Z] Configure a credential helper to remove this warning. See [2024-10-07T03:34:30.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T03:34:30.734Z] [2024-10-07T03:34:30.734Z] Login Succeeded [2024-10-07T03:34:30.734Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T03:34:30.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T03:34:31.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T03:34:31.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T03:34:31.486Z] ========================================================= [2024-10-07T03:34:31.486Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-07T03:34:31.486Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:34:32.042Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-07T03:34:32.624Z] Sending build context to Docker daemon 21.79MB [2024-10-07T03:34:32.624Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T03:34:32.624Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-07T03:34:32.624Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-07T03:34:32.624Z] cf04c63912e1: Pulling fs layer [2024-10-07T03:34:32.624Z] 55b35a11ae5e: Pulling fs layer [2024-10-07T03:34:32.624Z] a37a00ec5f00: Pulling fs layer [2024-10-07T03:34:32.624Z] 50b3750afda1: Pulling fs layer [2024-10-07T03:34:32.624Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T03:34:32.624Z] 80978eb59214: Pulling fs layer [2024-10-07T03:34:32.624Z] c9f46d7d2bd2: Pulling fs layer [2024-10-07T03:34:32.624Z] c5a475d317c9: Pulling fs layer [2024-10-07T03:34:32.624Z] 80978eb59214: Waiting [2024-10-07T03:34:32.624Z] c9f46d7d2bd2: Waiting [2024-10-07T03:34:32.624Z] c5a475d317c9: Waiting [2024-10-07T03:34:32.624Z] 50b3750afda1: Waiting [2024-10-07T03:34:32.624Z] 4f4fb700ef54: Waiting [2024-10-07T03:34:32.898Z] 55b35a11ae5e: Verifying Checksum [2024-10-07T03:34:32.898Z] 55b35a11ae5e: Download complete [2024-10-07T03:34:32.898Z] 50b3750afda1: Verifying Checksum [2024-10-07T03:34:32.898Z] 50b3750afda1: Download complete [2024-10-07T03:34:32.898Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T03:34:32.898Z] 4f4fb700ef54: Download complete [2024-10-07T03:34:32.898Z] 80978eb59214: Verifying Checksum [2024-10-07T03:34:32.898Z] 80978eb59214: Download complete [2024-10-07T03:34:32.898Z] cf04c63912e1: Verifying Checksum [2024-10-07T03:34:32.898Z] cf04c63912e1: Download complete [2024-10-07T03:34:33.485Z] c5a475d317c9: Verifying Checksum [2024-10-07T03:34:33.485Z] c5a475d317c9: Download complete [2024-10-07T03:34:33.753Z] cf04c63912e1: Pull complete [2024-10-07T03:34:34.336Z] 55b35a11ae5e: Pull complete [2024-10-07T03:34:34.603Z] a37a00ec5f00: Verifying Checksum [2024-10-07T03:34:34.603Z] a37a00ec5f00: Download complete [2024-10-07T03:34:35.562Z] c9f46d7d2bd2: Verifying Checksum [2024-10-07T03:34:35.562Z] c9f46d7d2bd2: Download complete [2024-10-07T03:34:47.876Z] a37a00ec5f00: Pull complete [2024-10-07T03:34:48.147Z] 50b3750afda1: Pull complete [2024-10-07T03:34:48.418Z] 4f4fb700ef54: Pull complete [2024-10-07T03:34:48.418Z] 80978eb59214: Pull complete [2024-10-07T03:34:52.905Z] Removing intermediate container 318a5a7e8f38 [2024-10-07T03:34:52.905Z] ---> 111b5de624e8 [2024-10-07T03:34:52.905Z] Step 14/27 : FROM alpine:3.20 [2024-10-07T03:34:52.905Z] 3.20: Pulling from library/alpine [2024-10-07T03:34:52.905Z] 43c4264eed91: Already exists [2024-10-07T03:34:52.905Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T03:34:52.905Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T03:34:52.905Z] ---> 91ef0af61f39 [2024-10-07T03:34:52.905Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-07T03:34:52.905Z] ---> Running in b8b90c830d7d [2024-10-07T03:34:52.905Z] Removing intermediate container b8b90c830d7d [2024-10-07T03:34:52.905Z] ---> cb29db129400 [2024-10-07T03:34:52.905Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-07T03:34:52.905Z] ---> Running in 57d6f3d1af95 [2024-10-07T03:34:52.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T03:34:52.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T03:34:52.905Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T03:34:52.905Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T03:34:52.905Z] OK: 8 MiB in 15 packages [2024-10-07T03:34:52.905Z] Removing intermediate container 57d6f3d1af95 [2024-10-07T03:34:52.905Z] ---> 8854cf4e4d27 [2024-10-07T03:34:52.905Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-07T03:34:52.905Z] ---> Running in c631de381ae7 [2024-10-07T03:34:52.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T03:34:52.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T03:34:52.905Z] Upgrading critical system libraries and apk-tools: [2024-10-07T03:34:52.905Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T03:34:52.905Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T03:34:52.905Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T03:34:52.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T03:34:52.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T03:34:52.905Z] OK: 8 MiB in 15 packages [2024-10-07T03:34:52.905Z] Removing intermediate container c631de381ae7 [2024-10-07T03:34:52.905Z] ---> 4a9972c0e372 [2024-10-07T03:34:52.905Z] Step 18/27 : WORKDIR / [2024-10-07T03:34:52.905Z] ---> Running in 376cf5cacf9d [2024-10-07T03:34:52.905Z] Removing intermediate container 376cf5cacf9d [2024-10-07T03:34:52.905Z] ---> d582b84ad36d [2024-10-07T03:34:52.905Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-07T03:34:53.165Z] ---> 568ae4939db8 [2024-10-07T03:34:53.165Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-07T03:34:53.429Z] ---> f8b626adb210 [2024-10-07T03:34:53.429Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-07T03:34:53.429Z] ---> 9627610becda [2024-10-07T03:34:53.429Z] Step 22/27 : EXPOSE 59984 [2024-10-07T03:34:53.429Z] ---> Running in 8d4d073e80f2 [2024-10-07T03:34:53.690Z] Removing intermediate container 8d4d073e80f2 [2024-10-07T03:34:53.690Z] ---> ba94faae04d2 [2024-10-07T03:34:53.690Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-07T03:34:53.690Z] ---> Running in 2ef3da750c7b [2024-10-07T03:34:53.690Z] Removing intermediate container 2ef3da750c7b [2024-10-07T03:34:53.690Z] ---> 0ecc7b39bf11 [2024-10-07T03:34:53.690Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-07T03:34:53.690Z] ---> Running in 69c727e9f786 [2024-10-07T03:34:53.690Z] Removing intermediate container 69c727e9f786 [2024-10-07T03:34:53.690Z] ---> 8a753079f63f [2024-10-07T03:34:53.690Z] Step 25/27 : LABEL arch=amd64 [2024-10-07T03:34:53.690Z] ---> Running in b3fdaeb74ad7 [2024-10-07T03:34:53.952Z] Removing intermediate container b3fdaeb74ad7 [2024-10-07T03:34:53.952Z] ---> 53e9a9a622cf [2024-10-07T03:34:53.952Z] Step 26/27 : LABEL git_sha=df34815b26025a63dc3d3e20ee079897389c89bf [2024-10-07T03:34:53.952Z] ---> Running in 75b7d9eac2ff [2024-10-07T03:34:53.952Z] Removing intermediate container 75b7d9eac2ff [2024-10-07T03:34:53.952Z] ---> fb5ec2c59f0a [2024-10-07T03:34:53.952Z] Step 27/27 : LABEL version=0.0.0 [2024-10-07T03:34:53.952Z] ---> Running in 93887a7be727 [2024-10-07T03:34:53.952Z] Removing intermediate container 93887a7be727 [2024-10-07T03:34:53.952Z] ---> 77e48817c360 [2024-10-07T03:34:53.952Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T03:34:54.214Z] Successfully built 77e48817c360 [2024-10-07T03:34:54.214Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:34:55.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T03:34:55.255Z] [2024-10-07T03:34:55.255Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:34:55.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T03:34:55.654Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-07T03:34:55.654Z] 5eb5b503b376: Pulling fs layer [2024-10-07T03:34:55.654Z] 5c69ac0246d0: Pulling fs layer [2024-10-07T03:34:55.654Z] ec43610c2a17: Pulling fs layer [2024-10-07T03:34:55.654Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-07T03:34:55.654Z] 33b1e0a273af: Pulling fs layer [2024-10-07T03:34:55.654Z] 5d3b04190fa2: Pulling fs layer [2024-10-07T03:34:55.654Z] 3a2ae6a8a46f: Waiting [2024-10-07T03:34:55.654Z] 33b1e0a273af: Waiting [2024-10-07T03:34:55.654Z] 2f39f015ded8: Pulling fs layer [2024-10-07T03:34:55.654Z] 5c69ac0246d0: Download complete [2024-10-07T03:34:55.654Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-07T03:34:55.654Z] 3a2ae6a8a46f: Download complete [2024-10-07T03:34:55.654Z] 33b1e0a273af: Verifying Checksum [2024-10-07T03:34:55.654Z] 33b1e0a273af: Download complete [2024-10-07T03:34:55.654Z] 5d3b04190fa2: Verifying Checksum [2024-10-07T03:34:55.654Z] 5d3b04190fa2: Download complete [2024-10-07T03:34:55.654Z] ec43610c2a17: Verifying Checksum [2024-10-07T03:34:55.654Z] ec43610c2a17: Download complete [2024-10-07T03:34:55.913Z] 5eb5b503b376: Verifying Checksum [2024-10-07T03:34:55.913Z] 5eb5b503b376: Download complete [2024-10-07T03:34:56.483Z] 2f39f015ded8: Download complete [2024-10-07T03:34:56.637Z] c9f46d7d2bd2: Pull complete [2024-10-07T03:34:57.049Z] 5eb5b503b376: Pull complete [2024-10-07T03:34:57.050Z] 5c69ac0246d0: Pull complete [2024-10-07T03:34:57.615Z] ec43610c2a17: Pull complete [2024-10-07T03:34:57.615Z] 3a2ae6a8a46f: Pull complete [2024-10-07T03:34:57.874Z] 33b1e0a273af: Pull complete [2024-10-07T03:34:57.874Z] 5d3b04190fa2: Pull complete [2024-10-07T03:34:58.062Z] c5a475d317c9: Pull complete [2024-10-07T03:34:58.062Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-07T03:34:58.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-07T03:34:58.062Z] ---> be29e6b0f0d4 [2024-10-07T03:34:58.062Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-07T03:35:00.008Z] ---> Running in d6adfdfa7c03 [2024-10-07T03:35:00.008Z] Removing intermediate container d6adfdfa7c03 [2024-10-07T03:35:00.008Z] ---> a867f5b0dd2d [2024-10-07T03:35:00.008Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T03:35:00.283Z] ---> Running in 894ec50967ac [2024-10-07T03:35:00.553Z] Removing intermediate container 894ec50967ac [2024-10-07T03:35:00.553Z] ---> 73391bfb7e79 [2024-10-07T03:35:00.553Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-07T03:35:00.553Z] ---> Running in 17ab40061817 [2024-10-07T03:35:00.822Z] Removing intermediate container 17ab40061817 [2024-10-07T03:35:00.822Z] ---> 2f91aaafbb40 [2024-10-07T03:35:00.822Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T03:35:00.822Z] ---> Running in 086adb938415 [2024-10-07T03:35:01.089Z] Removing intermediate container 086adb938415 [2024-10-07T03:35:01.089Z] ---> 2d9169e9b587 [2024-10-07T03:35:01.089Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-07T03:35:01.356Z] ---> Running in b96c8641e732 [2024-10-07T03:35:01.623Z] Removing intermediate container b96c8641e732 [2024-10-07T03:35:01.624Z] ---> be9e07ac9dc9 [2024-10-07T03:35:01.624Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T03:35:01.624Z] ---> Running in ecd43492302d [2024-10-07T03:35:02.061Z] 2f39f015ded8: Pull complete [2024-10-07T03:35:02.061Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-07T03:35:02.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T03:35:02.061Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T03:35:02.330Z] prd-ubuntu20.04-docker-8c-8g-21979 does not seem to be running inside a container [2024-10-07T03:35:02.364Z] $ 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-462 -v /w/workspace/undry_device-onvif-camera_PR-462:/w/workspace/undry_device-onvif-camera_PR-462:rw,z -v /w/workspace/undry_device-onvif-camera_PR-462@tmp:/w/workspace/undry_device-onvif-camera_PR-462@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 [2024-10-07T03:35:03.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T03:35:03.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T03:35:04.736Z] OK: 238 MiB in 54 packages [2024-10-07T03:35:05.700Z] Removing intermediate container ecd43492302d [2024-10-07T03:35:05.701Z] ---> 663af2937a08 [2024-10-07T03:35:05.701Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-07T03:35:05.701Z] ---> Running in 01ebe2041e11 [2024-10-07T03:35:05.976Z] Removing intermediate container 01ebe2041e11 [2024-10-07T03:35:05.976Z] ---> 1ce7b4a35458 [2024-10-07T03:35:05.976Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-07T03:35:06.575Z] ---> af0053213c98 [2024-10-07T03:35:06.575Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T03:35:06.575Z] ---> Running in d1030341f11a [2024-10-07T03:35:07.892Z] $ docker top c9dd419bc31e55a7b95d1dcd7e6172b1b54c11dfa7054a4ec4aa7937b7b41f14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:35:08.507Z] ---> job-cost.sh [2024-10-07T03:35:08.507Z] lf-activate-venv: SKIPPING [2024-10-07T03:35:08.507Z] INFO: No Stack... [2024-10-07T03:35:09.075Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T03:35:09.335Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T03:35:09.666Z] + cat /w/workspace/undry_device-onvif-camera_PR-462/archives/cost.csv [2024-10-07T03:35:09.666Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T03:35:09.716Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-462-1-stack-cost] [2024-10-07T03:35:09.724Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-462-1-stack-cost] did not exist. Created. [2024-10-07T03:35:09.731Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-462-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T03:35:10.139Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-07T03:35:10.197Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T03:35:10.234Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-462-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T03:35:10.330Z] $ docker stop --time=1 c9dd419bc31e55a7b95d1dcd7e6172b1b54c11dfa7054a4ec4aa7937b7b41f14 [2024-10-07T03:35:11.480Z] $ docker rm -f --volumes c9dd419bc31e55a7b95d1dcd7e6172b1b54c11dfa7054a4ec4aa7937b7b41f14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-07T03:36:58.249Z] Removing intermediate container d1030341f11a [2024-10-07T03:36:58.249Z] ---> 24b260c42c83 [2024-10-07T03:36:58.249Z] Step 12/13 : COPY . . [2024-10-07T03:36:58.249Z] ---> b739c2a63863 [2024-10-07T03:36:58.249Z] Step 13/13 : RUN ${MAKE} [2024-10-07T03:36:58.249Z] ---> Running in c83ef5145765 [2024-10-07T03:36:58.517Z] noop [2024-10-07T03:36:59.482Z] Removing intermediate container c83ef5145765 [2024-10-07T03:36:59.482Z] ---> 2d068f501842 [2024-10-07T03:36:59.482Z] Successfully built 2d068f501842 [2024-10-07T03:36:59.482Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:36:59.991Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T03:36:59.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T03:37:00.294Z] prd-ubuntu20.04-docker-arm64-4c-16g-21980 does not seem to be running inside a container [2024-10-07T03:37:00.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T03:37:02.052Z] $ docker top 039be144ef6e8779969f5ea13355974ac201649e71052bf4cb7c65468e3e9834 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T03:37:02.948Z] + go version [2024-10-07T03:37:02.948Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-07T03:37:02.984Z] $ docker stop --time=1 039be144ef6e8779969f5ea13355974ac201649e71052bf4cb7c65468e3e9834 [2024-10-07T03:37:04.588Z] $ docker rm -f --volumes 039be144ef6e8779969f5ea13355974ac201649e71052bf4cb7c65468e3e9834 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:37:05.544Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T03:37:05.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T03:37:05.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-21980 does not seem to be running inside a container [2024-10-07T03:37:05.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T03:37:07.063Z] $ docker top 0763d9f275db212eb052f5a1da2c74679a9a6caf6ca4b2851eedbf16dbadc467 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T03:37:07.981Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-10-07T03:37:08.701Z] + make test [2024-10-07T03:37:08.701Z] go test ./... -coverprofile=coverage.out ./... [2024-10-07T03:37:14.071Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-07T03:40:51.241Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-07T03:40:51.241Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-07T03:40:51.241Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.163s coverage: 31.4% of statements [2024-10-07T03:41:10.444Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.750s coverage: 86.5% of statements [2024-10-07T03:41:10.444Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-07T03:41:10.444Z] go vet ./... [2024-10-07T03:42:06.819Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T03:42:06.819Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T03:42:06.819Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T03:42:06.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T03:42:06.914Z] $ docker stop --time=1 0763d9f275db212eb052f5a1da2c74679a9a6caf6ca4b2851eedbf16dbadc467 [2024-10-07T03:42:08.847Z] $ docker rm -f --volumes 0763d9f275db212eb052f5a1da2c74679a9a6caf6ca4b2851eedbf16dbadc467 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T03:42:10.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T03:42:10.713Z] Warning: overwriting stash ‘coverage-report’ [2024-10-07T03:42:11.457Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T03:42:12.156Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T03:42:12.516Z] + ls -al . [2024-10-07T03:42:12.516Z] total 324 [2024-10-07T03:42:12.516Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 03:37 . [2024-10-07T03:42:12.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 03:33 .. [2024-10-07T03:42:12.516Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 03:34 .git [2024-10-07T03:42:12.516Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 03:33 .github [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 7 03:33 .gitignore [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 03:33 .golangci.yml [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 7 03:33 Attribution.txt [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 7 03:33 CHANGELOG.md [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 7 03:33 Dockerfile [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 03:33 GOVERNANCE.md [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 7 03:33 Jenkinsfile [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 03:33 LICENSE [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 2883 Oct 7 03:33 Makefile [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 03:33 OWNERS.md [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 7 03:33 README.md [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 03:31 VERSION [2024-10-07T03:42:12.516Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 03:33 bin [2024-10-07T03:42:12.516Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 03:33 cmd [2024-10-07T03:42:12.516Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 7 03:41 coverage.out [2024-10-07T03:42:12.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 03:33 doc [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 7 03:33 go.mod [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 7 03:33 go.sum [2024-10-07T03:42:12.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 03:33 internal [2024-10-07T03:42:12.516Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 03:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:42:12.984Z] + 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=df34815b26025a63dc3d3e20ee079897389c89bf --label arch=arm64 --label version=0.0.0 . [2024-10-07T03:42:13.577Z] Sending build context to Docker daemon 21.88MB [2024-10-07T03:42:13.844Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T03:42:13.844Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-07T03:42:13.844Z] ---> 2d068f501842 [2024-10-07T03:42:13.844Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-07T03:42:13.844Z] ---> Running in 3df6e7f2b9b7 [2024-10-07T03:42:14.428Z] Removing intermediate container 3df6e7f2b9b7 [2024-10-07T03:42:14.428Z] ---> e29ef3fc7b4a [2024-10-07T03:42:14.428Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T03:42:14.428Z] ---> Running in 7e01e4780f95 [2024-10-07T03:42:14.695Z] Removing intermediate container 7e01e4780f95 [2024-10-07T03:42:14.695Z] ---> 2974b2eafe96 [2024-10-07T03:42:14.695Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-07T03:42:14.695Z] ---> Running in ef40719d6831 [2024-10-07T03:42:14.964Z] Removing intermediate container ef40719d6831 [2024-10-07T03:42:14.964Z] ---> cd1b9fdc3820 [2024-10-07T03:42:14.964Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T03:42:15.233Z] ---> Running in a3855c747d2b [2024-10-07T03:42:15.503Z] Removing intermediate container a3855c747d2b [2024-10-07T03:42:15.503Z] ---> 4bba1ed8a6d0 [2024-10-07T03:42:15.503Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-07T03:42:15.503Z] ---> Running in 4f6a2c738524 [2024-10-07T03:42:15.771Z] Removing intermediate container 4f6a2c738524 [2024-10-07T03:42:15.771Z] ---> b3e1e2090368 [2024-10-07T03:42:15.771Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T03:42:16.040Z] ---> Running in f79f23ccbfa0 [2024-10-07T03:42:17.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T03:42:17.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T03:42:18.683Z] OK: 238 MiB in 54 packages [2024-10-07T03:42:20.091Z] Removing intermediate container f79f23ccbfa0 [2024-10-07T03:42:20.091Z] ---> 35725a5b0a42 [2024-10-07T03:42:20.091Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-07T03:42:20.091Z] ---> Running in 90698d9000ac [2024-10-07T03:42:20.091Z] Removing intermediate container 90698d9000ac [2024-10-07T03:42:20.091Z] ---> 1623d1989c85 [2024-10-07T03:42:20.091Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-07T03:42:20.677Z] ---> 3b19d534873f [2024-10-07T03:42:20.677Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T03:42:20.677Z] ---> Running in b4b6a2e0950a [2024-10-07T03:42:24.025Z] Removing intermediate container b4b6a2e0950a [2024-10-07T03:42:24.025Z] ---> 45e32c9e85e4 [2024-10-07T03:42:24.025Z] Step 12/27 : COPY . . [2024-10-07T03:42:25.435Z] ---> 885d1e2b807c [2024-10-07T03:42:25.435Z] Step 13/27 : RUN ${MAKE} [2024-10-07T03:42:25.435Z] ---> Running in 242e51aea400 [2024-10-07T03:42:26.395Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.42" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-10-07T03:46:23.056Z] Removing intermediate container 242e51aea400 [2024-10-07T03:46:23.056Z] ---> a56766e08b30 [2024-10-07T03:46:23.056Z] Step 14/27 : FROM alpine:3.20 [2024-10-07T03:46:23.056Z] 3.20: Pulling from library/alpine [2024-10-07T03:46:23.056Z] cf04c63912e1: Already exists [2024-10-07T03:46:23.056Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T03:46:23.056Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T03:46:23.056Z] ---> c157a85ed455 [2024-10-07T03:46:23.056Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-07T03:46:23.056Z] ---> Running in 62787a82fedb [2024-10-07T03:46:23.056Z] Removing intermediate container 62787a82fedb [2024-10-07T03:46:23.056Z] ---> 06c2342939a9 [2024-10-07T03:46:23.056Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-07T03:46:23.056Z] ---> Running in aae2062b7cea [2024-10-07T03:46:23.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T03:46:23.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T03:46:23.056Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T03:46:23.056Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T03:46:23.056Z] OK: 9 MiB in 15 packages [2024-10-07T03:46:23.056Z] Removing intermediate container aae2062b7cea [2024-10-07T03:46:23.056Z] ---> b96ea15e10ba [2024-10-07T03:46:23.056Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-07T03:46:23.056Z] ---> Running in 03764424ca03 [2024-10-07T03:46:24.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T03:46:24.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T03:46:26.013Z] Upgrading critical system libraries and apk-tools: [2024-10-07T03:46:26.013Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T03:46:26.013Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T03:46:26.013Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T03:46:26.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T03:46:26.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T03:46:28.008Z] OK: 9 MiB in 15 packages [2024-10-07T03:46:28.969Z] Removing intermediate container 03764424ca03 [2024-10-07T03:46:28.969Z] ---> 18954b7366eb [2024-10-07T03:46:28.969Z] Step 18/27 : WORKDIR / [2024-10-07T03:46:28.969Z] ---> Running in aa5841c81bbe [2024-10-07T03:46:29.237Z] Removing intermediate container aa5841c81bbe [2024-10-07T03:46:29.237Z] ---> 7af350872ac1 [2024-10-07T03:46:29.237Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-07T03:46:31.183Z] ---> 4d3c2381f054 [2024-10-07T03:46:31.183Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-07T03:46:31.766Z] ---> 4ac063ad20b4 [2024-10-07T03:46:31.766Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-07T03:46:32.351Z] ---> e9e737d1cad4 [2024-10-07T03:46:32.351Z] Step 22/27 : EXPOSE 59984 [2024-10-07T03:46:32.351Z] ---> Running in 80e03cad6d51 [2024-10-07T03:46:32.618Z] Removing intermediate container 80e03cad6d51 [2024-10-07T03:46:32.618Z] ---> d6caed23e833 [2024-10-07T03:46:32.618Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-07T03:46:32.618Z] ---> Running in 1a12983fc5f6 [2024-10-07T03:46:33.204Z] Removing intermediate container 1a12983fc5f6 [2024-10-07T03:46:33.204Z] ---> a0f8f62261ea [2024-10-07T03:46:33.204Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-07T03:46:33.204Z] ---> Running in 7f055f4f00a5 [2024-10-07T03:46:33.471Z] Removing intermediate container 7f055f4f00a5 [2024-10-07T03:46:33.471Z] ---> 9d549fcb9457 [2024-10-07T03:46:33.471Z] Step 25/27 : LABEL arch=arm64 [2024-10-07T03:46:33.471Z] ---> Running in 7640b2e38f9b [2024-10-07T03:46:33.739Z] Removing intermediate container 7640b2e38f9b [2024-10-07T03:46:33.739Z] ---> 4698d24be382 [2024-10-07T03:46:33.739Z] Step 26/27 : LABEL git_sha=df34815b26025a63dc3d3e20ee079897389c89bf [2024-10-07T03:46:34.013Z] ---> Running in 5f5aa3f58f4a [2024-10-07T03:46:34.280Z] Removing intermediate container 5f5aa3f58f4a [2024-10-07T03:46:34.280Z] ---> cf87a3692b26 [2024-10-07T03:46:34.280Z] Step 27/27 : LABEL version=0.0.0 [2024-10-07T03:46:34.280Z] ---> Running in b608c33f9a8c [2024-10-07T03:46:34.861Z] Removing intermediate container b608c33f9a8c [2024-10-07T03:46:34.861Z] ---> 14c077e1c31f [2024-10-07T03:46:34.861Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T03:46:34.861Z] Successfully built 14c077e1c31f [2024-10-07T03:46:34.861Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:46:35.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T03:46:35.805Z] [2024-10-07T03:46:35.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:46:36.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T03:46:36.223Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-07T03:46:36.223Z] 8998bd30e6a1: Pulling fs layer [2024-10-07T03:46:36.223Z] 04944245beec: Pulling fs layer [2024-10-07T03:46:36.223Z] 699f458cf7ca: Pulling fs layer [2024-10-07T03:46:36.223Z] 765212b225bb: Pulling fs layer [2024-10-07T03:46:36.223Z] f23df028b6ca: Pulling fs layer [2024-10-07T03:46:36.223Z] d65c8cfc05b1: Pulling fs layer [2024-10-07T03:46:36.223Z] 2437ff75d9bd: Pulling fs layer [2024-10-07T03:46:36.223Z] f23df028b6ca: Waiting [2024-10-07T03:46:36.223Z] d65c8cfc05b1: Waiting [2024-10-07T03:46:36.223Z] 765212b225bb: Waiting [2024-10-07T03:46:36.491Z] 04944245beec: Verifying Checksum [2024-10-07T03:46:36.491Z] 04944245beec: Download complete [2024-10-07T03:46:36.491Z] 765212b225bb: Verifying Checksum [2024-10-07T03:46:36.491Z] 765212b225bb: Download complete [2024-10-07T03:46:36.491Z] f23df028b6ca: Download complete [2024-10-07T03:46:36.491Z] d65c8cfc05b1: Verifying Checksum [2024-10-07T03:46:36.491Z] d65c8cfc05b1: Download complete [2024-10-07T03:46:36.759Z] 699f458cf7ca: Verifying Checksum [2024-10-07T03:46:36.759Z] 699f458cf7ca: Download complete [2024-10-07T03:46:37.338Z] 8998bd30e6a1: Verifying Checksum [2024-10-07T03:46:37.338Z] 8998bd30e6a1: Download complete [2024-10-07T03:46:39.910Z] 2437ff75d9bd: Verifying Checksum [2024-10-07T03:46:39.910Z] 2437ff75d9bd: Download complete [2024-10-07T03:46:41.852Z] 8998bd30e6a1: Pull complete [2024-10-07T03:46:42.435Z] 04944245beec: Pull complete [2024-10-07T03:46:44.381Z] 699f458cf7ca: Pull complete [2024-10-07T03:46:44.381Z] 765212b225bb: Pull complete [2024-10-07T03:46:45.339Z] f23df028b6ca: Pull complete [2024-10-07T03:46:45.607Z] d65c8cfc05b1: Pull complete [2024-10-07T03:47:03.820Z] 2437ff75d9bd: Pull complete [2024-10-07T03:47:03.820Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-07T03:47:03.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T03:47:03.820Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T03:47:04.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-21980 does not seem to be running inside a container [2024-10-07T03:47:04.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-07T03:47:07.115Z] $ docker top 21411a52d1d9de13ebcc7d5e7626c391162b68a7e8a3f7d55e5ad701561282ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:47:08.039Z] ---> job-cost.sh [2024-10-07T03:47:08.039Z] lf-activate-venv: SKIPPING [2024-10-07T03:47:08.039Z] INFO: No Stack... [2024-10-07T03:47:08.304Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-07T03:47:09.259Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T03:47:09.928Z] + cut -d, -f6 [2024-10-07T03:47:09.928Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2024-10-07T03:47:10.002Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-462-1-stack-cost] [2024-10-07T03:47:10.008Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-462-1-stack-cost] did not exist. Created. [2024-10-07T03:47:10.015Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-462-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T03:47:10.453Z] /w/workspace/device-onvif-camera/1@tmp/durable-445210cf/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-07T03:47:11.121Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-07T03:47:11.167Z] Warning: overwriting stash ‘stack-cost’ [2024-10-07T03:47:11.228Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T03:47:11.248Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-462-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T03:47:11.340Z] $ docker stop --time=1 21411a52d1d9de13ebcc7d5e7626c391162b68a7e8a3f7d55e5ad701561282ba [2024-10-07T03:47:12.797Z] $ docker rm -f --volumes 21411a52d1d9de13ebcc7d5e7626c391162b68a7e8a3f7d55e5ad701561282ba [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 [2024-10-07T03:47:13.928Z] provisioning config files... [2024-10-07T03:47:13.936Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-462@tmp/config12736598882026353304tmp [Pipeline] { [Pipeline] sh [2024-10-07T03:47:14.300Z] + set +x [2024-10-07T03:47:14.300Z] + curl -s https://codecov.io/bash [2024-10-07T03:47:14.300Z] + bash -s -- [2024-10-07T03:47:14.300Z] [2024-10-07T03:47:14.300Z] _____ _ [2024-10-07T03:47:14.300Z] / ____| | | [2024-10-07T03:47:14.300Z] | | ___ __| | ___ ___ _____ __ [2024-10-07T03:47:14.300Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-07T03:47:14.300Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-07T03:47:14.300Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-07T03:47:14.300Z] Bash-1.0.6 [2024-10-07T03:47:14.300Z] [2024-10-07T03:47:14.300Z] [2024-10-07T03:47:14.300Z] ==> git version 2.25.1 found [2024-10-07T03:47:14.300Z] ==> 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 [2024-10-07T03:47:14.300Z] Release-Date: 2020-01-08 [2024-10-07T03:47:14.300Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-07T03:47:14.300Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-07T03:47:14.300Z] ==> Jenkins CI detected. [2024-10-07T03:47:14.300Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-462 [2024-10-07T03:47:14.300Z] project root: . [2024-10-07T03:47:14.300Z] --> token set from env [2024-10-07T03:47:14.300Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-07T03:47:14.300Z] ==> Running gcov in . (disable via -X gcov) [2024-10-07T03:47:14.300Z] ==> Python coveragepy not found [2024-10-07T03:47:14.300Z] ==> Searching for coverage reports in: [2024-10-07T03:47:14.300Z] + . [2024-10-07T03:47:14.300Z] -> Found 1 reports [2024-10-07T03:47:14.300Z] ==> Detecting git/mercurial file structure [2024-10-07T03:47:14.300Z] ==> Reading reports [2024-10-07T03:47:14.300Z] + ./coverage.out bytes=92292 [2024-10-07T03:47:14.300Z] ==> Appending adjustments [2024-10-07T03:47:14.300Z] https://docs.codecov.io/docs/fixing-reports [2024-10-07T03:47:14.561Z] + Found adjustments [2024-10-07T03:47:14.561Z] ==> Gzipping contents [2024-10-07T03:47:14.561Z] 12K /tmp/codecov.k61UcD.gz [2024-10-07T03:47:14.561Z] ==> Uploading reports [2024-10-07T03:47:14.561Z] url: https://codecov.io [2024-10-07T03:47:14.561Z] query: branch=PR-462&commit=df34815b26025a63dc3d3e20ee079897389c89bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-462%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=462&job=&cmd_args= [2024-10-07T03:47:14.561Z] -> Pinging Codecov [2024-10-07T03:47:14.561Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-462&commit=df34815b26025a63dc3d3e20ee079897389c89bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-462%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=462&job=&cmd_args= [2024-10-07T03:47:14.820Z] -> Uploading to [2024-10-07T03:47:14.821Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/df34815b26025a63dc3d3e20ee079897389c89bf/cf63069b-a215-4a75-9342-eca267edee46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T034714Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=becb44b1a4d569d178e7899ba3a830ce7b3a3f4aedcbdf702c1e9ea853fb1d26 [2024-10-07T03:47:14.821Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T03:47:14.821Z] Dload Upload Total Spent Left Speed [2024-10-07T03:47:15.080Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 40475 --:--:-- --:--:-- --:--:-- 40475 [2024-10-07T03:47:15.080Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/df34815b26025a63dc3d3e20ee079897389c89bf [Pipeline] } [2024-10-07T03:47:15.110Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-07T03:47:17.397Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-462/archives ] [2024-10-07T03:47:17.397Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-462/archives [2024-10-07T03:47:17.397Z] total 16 [2024-10-07T03:47:17.397Z] drwxr-xr-x 3 root root 4096 Oct 7 03:35 . [2024-10-07T03:47:17.397Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 03:35 .. [2024-10-07T03:47:17.397Z] drwxr-xr-x 2 root root 4096 Oct 7 03:35 cost [2024-10-07T03:47:17.397Z] -rw-r--r-- 1 root root 91 Oct 7 03:35 cost.csv [2024-10-07T03:47:17.397Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-462/archives [2024-10-07T03:47:17.397Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-462/archives [2024-10-07T03:47:17.397Z] total 16 [2024-10-07T03:47:17.397Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 03:35 . [2024-10-07T03:47:17.397Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 03:35 .. [2024-10-07T03:47:17.397Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 03:35 cost [2024-10-07T03:47:17.397Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 7 03:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:47:17.738Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:47:18.640Z] ---> package-listing.sh [2024-10-07T03:47:18.640Z] ++ facter osfamily [2024-10-07T03:47:18.640Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-07T03:47:18.898Z] + OS_FAMILY=debian [2024-10-07T03:47:18.898Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-462 [2024-10-07T03:47:18.898Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-07T03:47:18.898Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-07T03:47:18.898Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-07T03:47:18.898Z] + PACKAGES=/tmp/packages_start.txt [2024-10-07T03:47:18.898Z] + '[' /w/workspace/undry_device-onvif-camera_PR-462 ']' [2024-10-07T03:47:18.898Z] + PACKAGES=/tmp/packages_end.txt [2024-10-07T03:47:18.898Z] + case "${OS_FAMILY}" in [2024-10-07T03:47:18.898Z] + dpkg -l [2024-10-07T03:47:18.898Z] + grep '^ii' [2024-10-07T03:47:18.898Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-07T03:47:18.898Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-07T03:47:18.898Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-07T03:47:18.898Z] + '[' /w/workspace/undry_device-onvif-camera_PR-462 ']' [2024-10-07T03:47:18.898Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-462/archives/ [2024-10-07T03:47:18.898Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-462/archives/ [Pipeline] echo [2024-10-07T03:47:18.939Z] 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-462/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-07T03:47:19.239Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T03:47:19.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T03:47:19.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T03:47:20.058Z] prd-ubuntu20.04-docker-8c-8g-21979 does not seem to be running inside a container [2024-10-07T03:47:20.073Z] $ 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-462/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-462 -v /w/workspace/undry_device-onvif-camera_PR-462:/w/workspace/undry_device-onvif-camera_PR-462:rw,z -v /w/workspace/undry_device-onvif-camera_PR-462@tmp:/w/workspace/undry_device-onvif-camera_PR-462@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 [2024-10-07T03:47:20.259Z] $ docker top 54f35df8a8e2662f483ff6fa2f05a1c3e4bd2d55a33a0a9878ce8dac53d2599a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T03:47:20.679Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-07T03:47:20.996Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-07T03:47:21.305Z] + ls /var/log/sa-host [2024-10-07T03:47:21.305Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T03:47:21.467Z] provisioning config files... [2024-10-07T03:47:21.475Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-462@tmp/config2984361945280294357tmp [Pipeline] { [Pipeline] echo [2024-10-07T03:47:21.552Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:47:21.878Z] ---> create-netrc.sh [Pipeline] } [2024-10-07T03:47:21.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:47:22.338Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-07T03:47:22.376Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:47:22.789Z] ---> sudo-logs.sh [2024-10-07T03:47:22.789Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-07T03:47:22.887Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:47:23.245Z] ---> job-cost.sh [2024-10-07T03:47:23.245Z] lf-activate-venv: SKIPPING [2024-10-07T03:47:23.245Z] DEBUG: total: 0.2199999988079071 [2024-10-07T03:47:23.245Z] INFO: Retrieving Stack Cost... [2024-10-07T03:47:23.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T03:47:24.121Z] INFO: Archiving Costs [Pipeline] echo [2024-10-07T03:47:24.167Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T03:47:24.492Z] ---> logs-deploy.sh [2024-10-07T03:47:24.492Z] lf-activate-venv: SKIPPING [2024-10-07T03:47:24.492Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-462/1 [2024-10-07T03:47:24.492Z] INFO: archiving workspace using pattern(s): [2024-10-07T03:47:25.435Z] Archives upload complete. [2024-10-07T03:47:25.435Z] INFO: archiving logs to Nexus