Pull request #265 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than fe40accf8116372c524230b06a386c02d88052ae Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh16195497718794724434.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9575620575565691746.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3082094016417156328.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 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-ssh15470119851023027668.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-usb-camera/branches/PR-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6921765606228411626.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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-1726 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-265 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit fe40accf8116372c524230b06a386c02d88052ae Merge succeeded, producing fe40accf8116372c524230b06a386c02d88052ae Checking out Revision fe40accf8116372c524230b06a386c02d88052ae (PR-265) > git config core.sparsecheckout # timeout=10 > git checkout -f fe40accf8116372c524230b06a386c02d88052ae # 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe40accf8116372c524230b06a386c02d88052ae # timeout=10 Commit message: "feat: cleanup" > git rev-list --no-walk dfd140bd3e583d8e942a3dd9b22e48316727da76 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-21T15:50:59.422Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-21T15:50:59.483Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-21T15:50:59.499Z] ========================================================= [2023-07-21T15:50:59.499Z] EdgeX Global Pipelines Version Info [2023-07-21T15:50:59.499Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-21T15:51:00.217Z] ------------------- [2023-07-21T15:51:00.217Z] stable info: [2023-07-21T15:51:00.217Z] ------------------- [2023-07-21T15:51:00.217Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-21T15:51:00.217Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T15:51:00.217Z] Message: update stable to v1.0.250 [2023-07-21T15:51:00.788Z] ------------------- [2023-07-21T15:51:00.788Z] experimental info: [2023-07-21T15:51:00.788Z] ------------------- [2023-07-21T15:51:00.788Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-21T15:51:00.788Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T15:51:00.788Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-21T15:51:00.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-07-21T15:51:00.974Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-07-21T15:51:00.987Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-21T15:51:00.999Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-21T15:51:01.011Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-21T15:51:01.023Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-21T15:51:01.034Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-21T15:51:01.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-21T15:51:01.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-21T15:51:01.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-21T15:51:01.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-21T15:51:01.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-07-21T15:51:01.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-21T15:51:01.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-21T15:51:01.118Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-21T15:51:01.126Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-21T15:51:01.134Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-21T15:51:01.143Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-21T15:51:01.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-21T15:51:01.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-21T15:51:01.168Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-21T15:51:01.177Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-21T15:51:01.185Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-21T15:51:01.194Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-21T15:51:01.205Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-21T15:51:01.216Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-21T15:51:01.234Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-21T15:51:01.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo [2023-07-21T15:51:01.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo [2023-07-21T15:51:01.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo [2023-07-21T15:51:01.316Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe40accf8116372c524230b06a386c02d88052ae [Pipeline] echo [2023-07-21T15:51:01.331Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe40acc [Pipeline] echo [2023-07-21T15:51:01.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T15:51:01.397Z] provisioning config files... [2023-07-21T15:51:01.413Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config10263737680350490585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T15:51:01.714Z] ---> docker-login.sh [2023-07-21T15:51:01.714Z] nexus3.edgexfoundry.org:10001 [2023-07-21T15:51:01.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:02.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:02.235Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:02.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:02.235Z] [2023-07-21T15:51:02.235Z] Login Succeeded [2023-07-21T15:51:02.235Z] nexus3.edgexfoundry.org:10002 [2023-07-21T15:51:02.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:02.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:02.235Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:02.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:02.235Z] [2023-07-21T15:51:02.235Z] Login Succeeded [2023-07-21T15:51:02.235Z] nexus3.edgexfoundry.org:10003 [2023-07-21T15:51:02.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:02.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:02.495Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:02.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:02.495Z] [2023-07-21T15:51:02.495Z] Login Succeeded [2023-07-21T15:51:02.495Z] nexus3.edgexfoundry.org:10004 [2023-07-21T15:51:02.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:02.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:02.495Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:02.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:02.495Z] [2023-07-21T15:51:02.495Z] Login Succeeded [2023-07-21T15:51:02.495Z] docker.io [2023-07-21T15:51:02.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:02.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:02.755Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:02.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:02.755Z] [2023-07-21T15:51:02.755Z] Login Succeeded [2023-07-21T15:51:02.755Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T15:51:02.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-21T15:51:03.157Z] + git rev-list -1 --merges fe40accf8116372c524230b06a386c02d88052ae~1..fe40accf8116372c524230b06a386c02d88052ae [Pipeline] echo [2023-07-21T15:51:03.207Z] -----------> git rev-list -1 --merges fe40accf8116372c524230b06a386c02d88052ae~1..fe40accf8116372c524230b06a386c02d88052ae fe40accf8116372c524230b06a386c02d88052ae [false] [Pipeline] sh [2023-07-21T15:51:03.495Z] + git log --format=format:%s -1 fe40accf8116372c524230b06a386c02d88052ae [Pipeline] echo [2023-07-21T15:51:03.514Z] ========================================================= [2023-07-21T15:51:03.514Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-21T15:51:03.514Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T15:51:03.850Z] + git log --format=format:%s -1 fe40accf8116372c524230b06a386c02d88052ae [Pipeline] echo [2023-07-21T15:51:03.863Z] [semverPrep] GIT_COMMIT: fe40accf8116372c524230b06a386c02d88052ae, Commit Message: feat: cleanup [Pipeline] echo [2023-07-21T15:51:03.872Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-21T15:51:04.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-21T15:51:04.258Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-21T15:51:04.258Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-21T15:51:04.258Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-21T15:51:04.258Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-21T15:51:04.258Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-21T15:51:04.258Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:51:04.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T15:51:04.684Z] [2023-07-21T15:51:04.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:51:05.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T15:51:05.302Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-21T15:51:05.302Z] b85a868b505f: Pulling fs layer [2023-07-21T15:51:05.302Z] e2be974225ed: Pulling fs layer [2023-07-21T15:51:05.302Z] 339a4e72a1f5: Pulling fs layer [2023-07-21T15:51:05.302Z] 988bab9f4d93: Pulling fs layer [2023-07-21T15:51:05.302Z] 1469e6f7b9e6: Pulling fs layer [2023-07-21T15:51:05.302Z] eaf3925da568: Pulling fs layer [2023-07-21T15:51:05.302Z] bab4dde63d76: Pulling fs layer [2023-07-21T15:51:05.302Z] bde34c3a00c8: Pulling fs layer [2023-07-21T15:51:05.302Z] b352a97aabf1: Pulling fs layer [2023-07-21T15:51:05.302Z] 4872d77fe225: Pulling fs layer [2023-07-21T15:51:05.302Z] 5851b861e8e6: Pulling fs layer [2023-07-21T15:51:05.302Z] 4872d77fe225: Waiting [2023-07-21T15:51:05.302Z] bde34c3a00c8: Waiting [2023-07-21T15:51:05.302Z] 1469e6f7b9e6: Waiting [2023-07-21T15:51:05.302Z] eaf3925da568: Waiting [2023-07-21T15:51:05.302Z] 988bab9f4d93: Waiting [2023-07-21T15:51:05.302Z] b352a97aabf1: Waiting [2023-07-21T15:51:05.302Z] bab4dde63d76: Waiting [2023-07-21T15:51:05.302Z] e2be974225ed: Verifying Checksum [2023-07-21T15:51:05.302Z] e2be974225ed: Download complete [2023-07-21T15:51:05.583Z] 988bab9f4d93: Verifying Checksum [2023-07-21T15:51:05.583Z] 988bab9f4d93: Download complete [2023-07-21T15:51:05.583Z] 1469e6f7b9e6: Verifying Checksum [2023-07-21T15:51:05.583Z] 1469e6f7b9e6: Download complete [2023-07-21T15:51:05.583Z] 339a4e72a1f5: Verifying Checksum [2023-07-21T15:51:05.583Z] 339a4e72a1f5: Download complete [2023-07-21T15:51:05.583Z] eaf3925da568: Verifying Checksum [2023-07-21T15:51:05.583Z] eaf3925da568: Download complete [2023-07-21T15:51:05.583Z] bde34c3a00c8: Verifying Checksum [2023-07-21T15:51:05.583Z] b352a97aabf1: Verifying Checksum [2023-07-21T15:51:05.583Z] b352a97aabf1: Download complete [2023-07-21T15:51:05.583Z] 4872d77fe225: Verifying Checksum [2023-07-21T15:51:05.583Z] 4872d77fe225: Download complete [2023-07-21T15:51:05.583Z] 5851b861e8e6: Download complete [2023-07-21T15:51:05.842Z] b85a868b505f: Verifying Checksum [2023-07-21T15:51:05.842Z] b85a868b505f: Download complete [2023-07-21T15:51:06.102Z] bab4dde63d76: Verifying Checksum [2023-07-21T15:51:06.102Z] bab4dde63d76: Download complete [2023-07-21T15:51:07.488Z] b85a868b505f: Pull complete [2023-07-21T15:51:07.488Z] e2be974225ed: Pull complete [2023-07-21T15:51:07.748Z] 339a4e72a1f5: Pull complete [2023-07-21T15:51:08.007Z] 988bab9f4d93: Pull complete [2023-07-21T15:51:08.864Z] 1469e6f7b9e6: Pull complete [2023-07-21T15:51:08.864Z] eaf3925da568: Pull complete [2023-07-21T15:51:10.239Z] bab4dde63d76: Pull complete [2023-07-21T15:51:10.239Z] bde34c3a00c8: Pull complete [2023-07-21T15:51:10.239Z] b352a97aabf1: Pull complete [2023-07-21T15:51:10.499Z] 4872d77fe225: Pull complete [2023-07-21T15:51:10.499Z] 5851b861e8e6: Pull complete [2023-07-21T15:51:10.499Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-21T15:51:10.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T15:51:10.499Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T15:51:10.594Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-07-21T15:51:10.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-21T15:51:14.368Z] $ docker top 50bca85d27db68dea68183c1aae30061e18d12235a812c53533e39a22facd57e -eo pid,comm [2023-07-21T15:51:14.427Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-21T15:51:14.427Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-21T15:51:14.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T15:51:14.471Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T15:51:14.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T15:51:14.582Z] $ docker exec 50bca85d27db68dea68183c1aae30061e18d12235a812c53533e39a22facd57e ssh-agent [2023-07-21T15:51:14.693Z] SSH_AUTH_SOCK=/tmp/ssh-wiorINT0dw6t/agent.32 [2023-07-21T15:51:14.693Z] SSH_AGENT_PID=38 [2023-07-21T15:51:14.700Z] Running ssh-add (command line suppressed) [2023-07-21T15:51:14.824Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_8563984415480214495.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_8563984415480214495.key) [2023-07-21T15:51:14.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T15:51:15.128Z] + git tag --points-at HEAD [Pipeline] } [2023-07-21T15:51:15.138Z] $ docker exec --env ******** --env ******** 50bca85d27db68dea68183c1aae30061e18d12235a812c53533e39a22facd57e ssh-agent -k [2023-07-21T15:51:15.248Z] unset SSH_AUTH_SOCK; [2023-07-21T15:51:15.249Z] unset SSH_AGENT_PID; [2023-07-21T15:51:15.249Z] echo Agent pid 38 killed; [2023-07-21T15:51:15.257Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-21T15:51:15.284Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T15:51:15.284Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T15:51:15.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T15:51:15.416Z] $ docker exec 50bca85d27db68dea68183c1aae30061e18d12235a812c53533e39a22facd57e ssh-agent [2023-07-21T15:51:15.536Z] SSH_AUTH_SOCK=/tmp/ssh-pLtoKLZgRt7S/agent.70 [2023-07-21T15:51:15.536Z] SSH_AGENT_PID=76 [2023-07-21T15:51:15.542Z] Running ssh-add (command line suppressed) [2023-07-21T15:51:15.643Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_293575354595824218.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_293575354595824218.key) [2023-07-21T15:51:15.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T15:51:15.947Z] + git semver init [2023-07-21T15:51:16.208Z] 2023-07-21 15:51:16,151 [run_init] DEBUG init version:0.0.0 force:False [2023-07-21T15:51:16.208Z] 2023-07-21 15:51:16,151 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-21T15:51:16.208Z] 2023-07-21 15:51:16,152 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-21T15:51:16.208Z] 2023-07-21 15:51:16,152 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) [2023-07-21T15:51:17.153Z] 2023-07-21 15:51:16,827 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude [2023-07-21T15:51:17.153Z] 2023-07-21 15:51:16,827 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False [2023-07-21T15:51:17.153Z] 2023-07-21 15:51:16,828 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-21T15:51:17.153Z] 2023-07-21 15:51:16,830 [execute] INFO git cat-file --batch-check [2023-07-21T15:51:17.153Z] 2023-07-21 15:51:16,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-21T15:51:17.153Z] 2023-07-21 15:51:16,836 [execute] INFO git cat-file --batch [2023-07-21T15:51:17.153Z] 2023-07-21 15:51:16,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-21T15:51:17.153Z] 2023-07-21 15:51:16,841 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-21T15:51:17.153Z] 0.0.0 [Pipeline] } [2023-07-21T15:51:17.166Z] $ docker exec --env ******** --env ******** 50bca85d27db68dea68183c1aae30061e18d12235a812c53533e39a22facd57e ssh-agent -k [2023-07-21T15:51:17.286Z] unset SSH_AUTH_SOCK; [2023-07-21T15:51:17.286Z] unset SSH_AGENT_PID; [2023-07-21T15:51:17.286Z] echo Agent pid 76 killed; [2023-07-21T15:51:17.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-21T15:51:17.609Z] + git semver [Pipeline] } [2023-07-21T15:51:17.886Z] $ docker stop --time=1 50bca85d27db68dea68183c1aae30061e18d12235a812c53533e39a22facd57e [2023-07-21T15:51:19.245Z] $ docker rm -f --volumes 50bca85d27db68dea68183c1aae30061e18d12235a812c53533e39a22facd57e [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T15:51:19.582Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-21T15:51:19.789Z] Stashed 1 file(s) [Pipeline] echo [2023-07-21T15:51:19.792Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T15:51:19.938Z] provisioning config files... [2023-07-21T15:51:19.947Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config3474884656527307740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T15:51:20.255Z] ---> docker-login.sh [2023-07-21T15:51:20.255Z] nexus3.edgexfoundry.org:10001 [2023-07-21T15:51:20.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:20.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:20.255Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:20.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:20.255Z] [2023-07-21T15:51:20.255Z] Login Succeeded [2023-07-21T15:51:20.255Z] nexus3.edgexfoundry.org:10002 [2023-07-21T15:51:20.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:20.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:20.514Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:20.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:20.514Z] [2023-07-21T15:51:20.514Z] Login Succeeded [2023-07-21T15:51:20.514Z] nexus3.edgexfoundry.org:10003 [2023-07-21T15:51:20.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:20.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:20.514Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:20.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:20.515Z] [2023-07-21T15:51:20.515Z] Login Succeeded [2023-07-21T15:51:20.515Z] nexus3.edgexfoundry.org:10004 [2023-07-21T15:51:20.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:20.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:20.773Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:20.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:20.773Z] [2023-07-21T15:51:20.773Z] Login Succeeded [2023-07-21T15:51:20.773Z] docker.io [2023-07-21T15:51:20.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:51:21.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:51:21.032Z] Configure a credential helper to remove this warning. See [2023-07-21T15:51:21.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:51:21.032Z] [2023-07-21T15:51:21.032Z] Login Succeeded [2023-07-21T15:51:21.032Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T15:51:21.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-21T15:51:21.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T15:51:21.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T15:51:21.124Z] ========================================================= [2023-07-21T15:51:21.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-21T15:51:21.124Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:51:21.486Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-21T15:51:21.486Z] Sending build context to Docker daemon 2.264MB [2023-07-21T15:51:21.486Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-21T15:51:21.486Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-21T15:51:21.486Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-21T15:51:21.486Z] 4db1b89c0bd1: Pulling fs layer [2023-07-21T15:51:21.486Z] 6911f1a30b25: Pulling fs layer [2023-07-21T15:51:21.486Z] e194b8c5c2a9: Pulling fs layer [2023-07-21T15:51:21.486Z] 6863d3e3a2b1: Pulling fs layer [2023-07-21T15:51:21.486Z] ec0bb842ea78: Pulling fs layer [2023-07-21T15:51:21.486Z] 40a00589a448: Pulling fs layer [2023-07-21T15:51:21.486Z] 6c08303d61cc: Pulling fs layer [2023-07-21T15:51:21.486Z] 798269fcf238: Pulling fs layer [2023-07-21T15:51:21.486Z] 40a00589a448: Waiting [2023-07-21T15:51:21.486Z] 798269fcf238: Waiting [2023-07-21T15:51:21.486Z] 6c08303d61cc: Waiting [2023-07-21T15:51:21.486Z] 6863d3e3a2b1: Waiting [2023-07-21T15:51:21.486Z] ec0bb842ea78: Waiting [2023-07-21T15:51:21.486Z] 6911f1a30b25: Verifying Checksum [2023-07-21T15:51:21.486Z] 6911f1a30b25: Download complete [2023-07-21T15:51:21.486Z] 6863d3e3a2b1: Verifying Checksum [2023-07-21T15:51:21.486Z] 6863d3e3a2b1: Download complete [2023-07-21T15:51:21.486Z] ec0bb842ea78: Download complete [2023-07-21T15:51:21.773Z] 4db1b89c0bd1: Verifying Checksum [2023-07-21T15:51:21.773Z] 4db1b89c0bd1: Download complete [2023-07-21T15:51:21.773Z] 40a00589a448: Verifying Checksum [2023-07-21T15:51:21.773Z] 40a00589a448: Download complete [2023-07-21T15:51:21.773Z] 4db1b89c0bd1: Pull complete [2023-07-21T15:51:22.033Z] 6911f1a30b25: Pull complete [2023-07-21T15:51:22.295Z] 798269fcf238: Verifying Checksum [2023-07-21T15:51:22.295Z] 798269fcf238: Download complete [2023-07-21T15:51:22.295Z] e194b8c5c2a9: Verifying Checksum [2023-07-21T15:51:22.295Z] e194b8c5c2a9: Download complete [2023-07-21T15:51:22.553Z] 6c08303d61cc: Verifying Checksum [2023-07-21T15:51:22.553Z] 6c08303d61cc: Download complete [2023-07-21T15:51:25.837Z] e194b8c5c2a9: Pull complete [2023-07-21T15:51:25.837Z] 6863d3e3a2b1: Pull complete [2023-07-21T15:51:26.096Z] ec0bb842ea78: Pull complete [2023-07-21T15:51:26.096Z] 40a00589a448: Pull complete [2023-07-21T15:51:28.626Z] 6c08303d61cc: Pull complete [2023-07-21T15:51:29.562Z] 798269fcf238: Pull complete [2023-07-21T15:51:29.562Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-21T15:51:29.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-21T15:51:29.562Z] ---> ec979cd7f677 [2023-07-21T15:51:29.562Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-21T15:51:34.906Z] Still waiting to schedule task [2023-07-21T15:51:34.906Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-21T15:51:37.751Z] ---> Running in 2736547067e0 [2023-07-21T15:51:37.751Z] Removing intermediate container 2736547067e0 [2023-07-21T15:51:37.751Z] ---> ce04132862a7 [2023-07-21T15:51:37.751Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-21T15:51:37.751Z] ---> Running in a1b9a9cd6957 [2023-07-21T15:51:37.751Z] Removing intermediate container a1b9a9cd6957 [2023-07-21T15:51:37.751Z] ---> cf45022b3a66 [2023-07-21T15:51:37.751Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-21T15:51:37.751Z] ---> Running in 4d98a11bf8a1 [2023-07-21T15:51:37.751Z] Removing intermediate container 4d98a11bf8a1 [2023-07-21T15:51:37.751Z] ---> 9bd3e2314d71 [2023-07-21T15:51:37.751Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-21T15:51:37.751Z] ---> Running in d8761fd1e7f8 [2023-07-21T15:51:37.751Z] Removing intermediate container d8761fd1e7f8 [2023-07-21T15:51:37.751Z] ---> 5660b262c956 [2023-07-21T15:51:37.751Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-21T15:51:37.751Z] ---> Running in 738de706041b [2023-07-21T15:51:37.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-21T15:51:37.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-21T15:51:37.751Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-21T15:51:37.751Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-21T15:51:37.751Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-21T15:51:37.751Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-21T15:51:37.751Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-21T15:51:37.751Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-21T15:51:37.751Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-21T15:51:37.751Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-21T15:51:37.751Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-21T15:51:37.751Z] (10/14) Installing kmod-libs (30-r1) [2023-07-21T15:51:37.751Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-21T15:51:37.751Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-21T15:51:37.751Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-21T15:51:37.751Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-21T15:51:37.751Z] Executing busybox-1.35.0-r29.trigger [2023-07-21T15:51:38.010Z] Executing eudev-3.2.11-r4.trigger [2023-07-21T15:51:38.010Z] OK: 272 MiB in 67 packages [2023-07-21T15:51:38.577Z] Removing intermediate container 738de706041b [2023-07-21T15:51:38.577Z] ---> 74a6940f0186 [2023-07-21T15:51:38.577Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-21T15:51:38.577Z] ---> Running in 1f00c8d0b579 [2023-07-21T15:51:38.577Z] Removing intermediate container 1f00c8d0b579 [2023-07-21T15:51:38.577Z] ---> ff6c68e5aa6f [2023-07-21T15:51:38.577Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-21T15:51:38.836Z] ---> 4e73ef1e6f38 [2023-07-21T15:51:38.836Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-21T15:51:38.836Z] ---> Running in a40c29542a11 [2023-07-21T15:52:25.528Z] Removing intermediate container a40c29542a11 [2023-07-21T15:52:25.528Z] ---> 4a1b303e848c [2023-07-21T15:52:25.528Z] Step 11/13 : COPY . . [2023-07-21T15:52:25.528Z] ---> c3f55b23fe86 [2023-07-21T15:52:25.528Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-21T15:52:25.528Z] ---> Running in cde63c9f3447 [2023-07-21T15:52:25.528Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T15:52:25.528Z] Dload Upload Total Spent Left Speed [2023-07-21T15:52:25.786Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7259 0 --:--:-- --:--:-- --:--:-- 7224 100 1062 100 1062 0 0 7247 0 --:--:-- --:--:-- --:--:-- 7224 [2023-07-21T15:52:26.045Z] Removing intermediate container cde63c9f3447 [2023-07-21T15:52:26.045Z] ---> cbfc0828b3bd [2023-07-21T15:52:26.045Z] Step 13/13 : RUN ${MAKE} [2023-07-21T15:52:26.306Z] ---> Running in 5826babf3fc3 [2023-07-21T15:52:26.566Z] noop [2023-07-21T15:52:26.837Z] Removing intermediate container 5826babf3fc3 [2023-07-21T15:52:26.837Z] ---> 334451ce30f5 [2023-07-21T15:52:26.837Z] Successfully built 334451ce30f5 [2023-07-21T15:52:26.837Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:52:27.159Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-21T15:52:27.159Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T15:52:27.240Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-07-21T15:52:27.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-21T15:52:27.672Z] $ docker top f517595999c7e1ca4aa12baf92ba397266287da34fc76b4cd759a0a4c893e0c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T15:52:28.009Z] + go version [2023-07-21T15:52:28.009Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-21T15:52:28.022Z] $ docker stop --time=1 f517595999c7e1ca4aa12baf92ba397266287da34fc76b4cd759a0a4c893e0c6 [2023-07-21T15:52:29.319Z] $ docker rm -f --volumes f517595999c7e1ca4aa12baf92ba397266287da34fc76b4cd759a0a4c893e0c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:52:29.726Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-21T15:52:29.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T15:52:29.795Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-07-21T15:52:29.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-21T15:52:30.204Z] $ docker top fd4b1073f03f9fb063fc54e3ac6f9cd5d2e559cbc767fc1ee8e5a5b6f0f890bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T15:52:30.551Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh [2023-07-21T15:52:30.851Z] + make test [2023-07-21T15:52:30.851Z] go test ./... -coverprofile=coverage.out ./... [2023-07-21T15:52:36.128Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-21T15:52:48.345Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-21T15:52:48.345Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.023s coverage: 3.6% of statements [2023-07-21T15:52:54.903Z] go vet ./... [2023-07-21T15:52:59.094Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-21T15:52:59.094Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-21T15:52:59.094Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-21T15:52:59.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-21T15:52:59.127Z] $ docker stop --time=1 fd4b1073f03f9fb063fc54e3ac6f9cd5d2e559cbc767fc1ee8e5a5b6f0f890bf [2023-07-21T15:53:02.607Z] $ docker rm -f --volumes fd4b1073f03f9fb063fc54e3ac6f9cd5d2e559cbc767fc1ee8e5a5b6f0f890bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T15:53:02.841Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1727 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws [2023-07-21T15:53:02.855Z] Running in /w/workspace/device-usb-camera/8 [Pipeline] { [Pipeline] checkout [2023-07-21T15:53:02.881Z] Selected Git installation does not exist. Using Default [2023-07-21T15:53:02.881Z] The recommended git tool is: NONE [2023-07-21T15:53:03.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-21T15:53:03.151Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-21T15:53:03.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-21T15:53:03.957Z] + ls -al . [2023-07-21T15:53:03.958Z] total 204 [2023-07-21T15:53:03.958Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 15:52 . [2023-07-21T15:53:03.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 15:50 .. [2023-07-21T15:53:03.958Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 15:51 .git [2023-07-21T15:53:03.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 15:50 .github [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 21 15:50 .gitignore [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 21 15:50 .golangci.yml [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 21 15:50 .hadolint.yml [2023-07-21T15:53:03.958Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 15:51 .semver [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 21 15:50 Attribution.txt [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 21 15:50 CHANGELOG.md [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 21 15:50 Dockerfile [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 21 15:50 GOVERNANCE.md [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 21 15:50 Jenkinsfile [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 15:50 LICENSE [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 21 15:50 Makefile [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 21 15:50 OWNERS.md [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 21 15:50 README.md [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 15:51 VERSION [2023-07-21T15:53:03.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 15:50 bin [2023-07-21T15:53:03.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 15:50 cmd [2023-07-21T15:53:03.958Z] -rw-r--r-- 1 jenkins jenkins 42249 Jul 21 15:52 coverage.out [2023-07-21T15:53:03.958Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 21 15:50 docker-entrypoint.sh [2023-07-21T15:53:03.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 15:50 docs [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 21 15:50 go.mod [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 21 15:50 go.sum [2023-07-21T15:53:03.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 15:50 internal [2023-07-21T15:53:03.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 15:50 snap [2023-07-21T15:53:03.958Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 21 15:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:53:04.261Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=fe40accf8116372c524230b06a386c02d88052ae --label arch=amd64 --label version=0.0.0 . [2023-07-21T15:53:04.261Z] Sending build context to Docker daemon 2.307MB [2023-07-21T15:53:04.261Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-21T15:53:04.261Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-21T15:53:04.261Z] ---> 334451ce30f5 [2023-07-21T15:53:04.261Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-21T15:53:04.261Z] ---> Running in 8e31b6f0b275 [2023-07-21T15:53:04.521Z] Removing intermediate container 8e31b6f0b275 [2023-07-21T15:53:04.521Z] ---> 9eaa006a969b [2023-07-21T15:53:04.521Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-21T15:53:04.521Z] ---> Running in e5aa829c1549 [2023-07-21T15:53:04.521Z] Removing intermediate container e5aa829c1549 [2023-07-21T15:53:04.521Z] ---> f937ef03b0d6 [2023-07-21T15:53:04.521Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-21T15:53:04.781Z] ---> Running in 3afd4c8ea97b [2023-07-21T15:53:04.781Z] Removing intermediate container 3afd4c8ea97b [2023-07-21T15:53:04.781Z] ---> 6467153ec415 [2023-07-21T15:53:04.781Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-21T15:53:04.781Z] ---> Running in e59c3de8dc10 [2023-07-21T15:53:04.781Z] Removing intermediate container e59c3de8dc10 [2023-07-21T15:53:04.781Z] ---> adbc6c5331a5 [2023-07-21T15:53:04.781Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-21T15:53:04.781Z] ---> Running in 9e66e3ad11fa [2023-07-21T15:53:05.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-21T15:53:05.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-21T15:53:05.609Z] OK: 272 MiB in 67 packages [2023-07-21T15:53:06.176Z] Removing intermediate container 9e66e3ad11fa [2023-07-21T15:53:06.176Z] ---> c8c3f1225521 [2023-07-21T15:53:06.176Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-21T15:53:06.176Z] ---> Running in e3dd0ab609ea [2023-07-21T15:53:06.176Z] Removing intermediate container e3dd0ab609ea [2023-07-21T15:53:06.176Z] ---> 9e60cf705add [2023-07-21T15:53:06.176Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-21T15:53:06.436Z] ---> 0cc052574e5f [2023-07-21T15:53:06.436Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-21T15:53:06.436Z] ---> Running in f98e678233ea [2023-07-21T15:53:07.429Z] Removing intermediate container f98e678233ea [2023-07-21T15:53:07.429Z] ---> 7b3309575336 [2023-07-21T15:53:07.429Z] Step 11/36 : COPY . . [2023-07-21T15:53:07.688Z] ---> 837d64237e61 [2023-07-21T15:53:07.688Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-21T15:53:07.688Z] ---> Running in d54b268eecb3 [2023-07-21T15:53:07.789Z] using credential edgex-jenkins-ssh [2023-07-21T15:53:07.815Z] Cloning the remote Git repository [2023-07-21T15:53:07.947Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T15:53:07.947Z]  Dload Upload Total Spent Left Speed [2023-07-21T15:53:07.947Z] 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 20646 0 --:--:-- --:--:-- --:--:-- 20823 [2023-07-21T15:53:08.733Z] Removing intermediate container d54b268eecb3 [2023-07-21T15:53:08.733Z] ---> 3d13230b7b5a [2023-07-21T15:53:08.733Z] Step 13/36 : RUN ${MAKE} [2023-07-21T15:53:08.733Z] ---> Running in 466a6fa27b45 [2023-07-21T15:53:08.733Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-07-21T15:53:07.860Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-07-21T15:53:07.942Z] > git init /w/workspace/device-usb-camera/8 # timeout=10 [2023-07-21T15:53:08.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-21T15:53:08.739Z] > git --version # timeout=10 [2023-07-21T15:53:08.761Z] > git --version # 'git version 2.25.1' [2023-07-21T15:53:08.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T15:53:10.145Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T15:53:13.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-21T15:53:13.068Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T15:53:13.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-21T15:53:13.953Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-21T15:53:13.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T15:53:13.969Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-21T15:53:14.608Z] Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit fe40accf8116372c524230b06a386c02d88052ae [2023-07-21T15:53:14.851Z] Merge succeeded, producing fe40accf8116372c524230b06a386c02d88052ae [2023-07-21T15:53:14.851Z] Checking out Revision fe40accf8116372c524230b06a386c02d88052ae (PR-265) [2023-07-21T15:53:14.627Z] > git config core.sparsecheckout # timeout=10 [2023-07-21T15:53:14.687Z] > git checkout -f fe40accf8116372c524230b06a386c02d88052ae # timeout=10 [2023-07-21T15:53:14.764Z] > git remote # timeout=10 [2023-07-21T15:53:14.784Z] > git config --get remote.origin.url # timeout=10 [2023-07-21T15:53:14.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T15:53:14.815Z] > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 [2023-07-21T15:53:14.838Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-21T15:53:14.860Z] > git config core.sparsecheckout # timeout=10 [2023-07-21T15:53:14.874Z] > git checkout -f fe40accf8116372c524230b06a386c02d88052ae # timeout=10 [2023-07-21T15:53:18.303Z] Commit message: "feat: cleanup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T15:53:19.202Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-21T15:53:19.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T15:53:19.202Z] Dload Upload Total Spent Left Speed [2023-07-21T15:53:19.202Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-07-21T15:53:19.917Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-21T15:53:20.244Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-21T15:53:20.244Z] + sudo tee /etc/docker/daemon.new [2023-07-21T15:53:20.244Z] { [2023-07-21T15:53:20.244Z] "registry-mirrors": [ [2023-07-21T15:53:20.244Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-21T15:53:20.244Z] ], [2023-07-21T15:53:20.244Z] "bip": "10.250.0.254/24", [2023-07-21T15:53:20.244Z] "hosts": [ [2023-07-21T15:53:20.244Z] "tcp://0.0.0.0:5555", [2023-07-21T15:53:20.244Z] "unix:///var/run/docker.sock" [2023-07-21T15:53:20.244Z] ], [2023-07-21T15:53:20.244Z] "mtu": 1458, [2023-07-21T15:53:20.244Z] "selinux-enabled": true, [2023-07-21T15:53:20.244Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-21T15:53:20.244Z] } [Pipeline] sh [2023-07-21T15:53:20.566Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-21T15:53:20.888Z] + sudo service docker restart [2023-07-21T15:53:31.754Z] Removing intermediate container 466a6fa27b45 [2023-07-21T15:53:31.754Z] ---> f47ebf64857b [2023-07-21T15:53:31.754Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-21T15:53:31.754Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-21T15:53:31.754Z] 4acc49c71d14: Pulling fs layer [2023-07-21T15:53:31.754Z] 4acc49c71d14: Verifying Checksum [2023-07-21T15:53:31.754Z] 4acc49c71d14: Download complete [2023-07-21T15:53:31.754Z] 4acc49c71d14: Pull complete [2023-07-21T15:53:32.321Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-21T15:53:32.321Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-21T15:53:32.321Z] ---> 01a2bd3e5fff [2023-07-21T15:53:32.321Z] Step 15/36 : FROM alpine:3.17 [2023-07-21T15:53:32.889Z] 3.17: Pulling from library/alpine [2023-07-21T15:53:32.889Z] 4db1b89c0bd1: Already exists [2023-07-21T15:53:33.148Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-21T15:53:33.148Z] Status: Downloaded newer image for alpine:3.17 [2023-07-21T15:53:33.148Z] ---> 1f73a9d63274 [2023-07-21T15:53:33.148Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-21T15:53:33.417Z] ---> Running in 5f393ab8d0ce [2023-07-21T15:53:33.417Z] Removing intermediate container 5f393ab8d0ce [2023-07-21T15:53:33.417Z] ---> 021034a9b09c [2023-07-21T15:53:33.417Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-21T15:53:33.676Z] ---> Running in 6075d69f571c [2023-07-21T15:53:33.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-21T15:53:33.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-21T15:53:34.504Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-07-21T15:53:34.504Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-07-21T15:53:34.504Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-07-21T15:53:34.504Z] (4/86) Installing libxau (1.0.10-r0) [2023-07-21T15:53:34.504Z] (5/86) Installing libmd (1.0.4-r0) [2023-07-21T15:53:34.504Z] (6/86) Installing libbsd (0.11.7-r0) [2023-07-21T15:53:34.504Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-07-21T15:53:34.504Z] (8/86) Installing libxcb (1.15-r0) [2023-07-21T15:53:34.504Z] (9/86) Installing libx11 (1.8.4-r1) [2023-07-21T15:53:34.504Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-07-21T15:53:34.504Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-07-21T15:53:34.504Z] (12/86) Installing libexpat (2.5.0-r0) [2023-07-21T15:53:34.504Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-07-21T15:53:34.504Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-07-21T15:53:34.504Z] (15/86) Installing libpng (1.6.38-r0) [2023-07-21T15:53:34.504Z] (16/86) Installing freetype (2.12.1-r0) [2023-07-21T15:53:34.504Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-07-21T15:53:34.504Z] (18/86) Installing fribidi (1.0.12-r0) [2023-07-21T15:53:34.504Z] (19/86) Installing libffi (3.4.4-r0) [2023-07-21T15:53:34.504Z] (20/86) Installing libintl (0.21.1-r1) [2023-07-21T15:53:34.504Z] (21/86) Installing libblkid (2.38.1-r1) [2023-07-21T15:53:34.504Z] (22/86) Installing libmount (2.38.1-r1) [2023-07-21T15:53:34.504Z] (23/86) Installing pcre2 (10.42-r0) [2023-07-21T15:53:34.764Z] (24/86) Installing glib (2.74.7-r0) [2023-07-21T15:53:34.764Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-07-21T15:53:34.764Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-07-21T15:53:34.764Z] (27/86) Installing libass (0.16.0-r1) [2023-07-21T15:53:34.764Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-07-21T15:53:34.764Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-07-21T15:53:34.764Z] (30/86) Installing libpciaccess (0.17-r0) [2023-07-21T15:53:34.764Z] (31/86) Installing libdrm (2.4.114-r0) [2023-07-21T15:53:34.764Z] (32/86) Installing gmp (6.2.1-r2) [2023-07-21T15:53:34.764Z] (33/86) Installing nettle (3.8.1-r0) [2023-07-21T15:53:34.764Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-07-21T15:53:34.764Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-07-21T15:53:34.764Z] (36/86) Installing libunistring (1.1-r0) [2023-07-21T15:53:34.764Z] (37/86) Installing gnutls (3.7.8-r3) [2023-07-21T15:53:34.764Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-21T15:53:34.764Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-21T15:53:34.764Z] (40/86) Installing lame (3.100-r2) [2023-07-21T15:53:34.764Z] (41/86) Installing opus (1.3.1-r1) [2023-07-21T15:53:34.764Z] (42/86) Installing libasyncns (0.8-r1) [2023-07-21T15:53:34.764Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-07-21T15:53:34.764Z] (44/86) Installing libltdl (2.4.7-r1) [2023-07-21T15:53:34.764Z] (45/86) Installing orc (0.4.33-r0) [2023-07-21T15:53:34.764Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-07-21T15:53:34.764Z] (47/86) Installing libogg (1.3.5-r2) [2023-07-21T15:53:34.764Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-21T15:53:35.024Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-07-21T15:53:35.024Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-07-21T15:53:35.024Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-07-21T15:53:35.024Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-07-21T15:53:35.024Z] (53/86) Installing soxr (0.1.3-r3) [2023-07-21T15:53:35.024Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-07-21T15:53:35.024Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-07-21T15:53:35.024Z] (56/86) Installing libpulse (16.1-r6) [2023-07-21T15:53:35.024Z] (57/86) Installing cjson (1.7.15-r3) [2023-07-21T15:53:35.024Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-07-21T15:53:35.024Z] (59/86) Installing librist (0.2.7-r0) [2023-07-21T15:53:35.024Z] (60/86) Installing libsrt (1.5.1-r0) [2023-07-21T15:53:35.024Z] (61/86) Installing libssh (0.10.5-r0) [2023-07-21T15:53:35.024Z] (62/86) Installing libtheora (1.1.1-r16) [2023-07-21T15:53:35.024Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-07-21T15:53:35.024Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-07-21T15:53:35.024Z] (65/86) Installing libxext (1.3.5-r0) [2023-07-21T15:53:35.024Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-07-21T15:53:35.024Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-07-21T15:53:35.024Z] (68/86) Installing libva (2.16.0-r0) [2023-07-21T15:53:35.024Z] (69/86) Installing libvdpau (1.5-r0) [2023-07-21T15:53:35.024Z] (70/86) Installing vidstab (1.1.0-r2) [2023-07-21T15:53:35.024Z] (71/86) Installing libvpx (1.12.0-r1) [2023-07-21T15:53:35.024Z] (72/86) Installing libwebp (1.2.4-r2) [2023-07-21T15:53:35.024Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-07-21T15:53:35.024Z] (74/86) Installing numactl (2.0.16-r1) [2023-07-21T15:53:35.024Z] (75/86) Installing x265-libs (3.5-r3) [2023-07-21T15:53:35.282Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-07-21T15:53:35.282Z] (77/86) Installing libsodium (1.0.18-r2) [2023-07-21T15:53:35.282Z] (78/86) Installing libzmq (4.3.4-r1) [2023-07-21T15:53:35.282Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-07-21T15:53:35.282Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-07-21T15:53:35.282Z] (81/86) Installing udev-init-scripts (35-r1) [2023-07-21T15:53:35.283Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-07-21T15:53:35.283Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-07-21T15:53:35.283Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-07-21T15:53:35.283Z] (85/86) Installing kmod-libs (30-r1) [2023-07-21T15:53:35.283Z] (86/86) Installing eudev (3.2.11-r4) [2023-07-21T15:53:35.541Z] Executing busybox-1.35.0-r29.trigger [2023-07-21T15:53:35.541Z] Executing eudev-3.2.11-r4.trigger [2023-07-21T15:53:35.541Z] OK: 112 MiB in 101 packages [2023-07-21T15:53:38.856Z] Removing intermediate container 6075d69f571c [2023-07-21T15:53:38.856Z] ---> 089b77e33bf2 [2023-07-21T15:53:38.856Z] Step 18/36 : WORKDIR / [2023-07-21T15:53:38.856Z] ---> Running in e657214a3584 [2023-07-21T15:53:38.856Z] Removing intermediate container e657214a3584 [2023-07-21T15:53:38.856Z] ---> 5a75d6dff89e [2023-07-21T15:53:38.856Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T15:53:39.126Z] provisioning config files... [2023-07-21T15:53:39.150Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/8@tmp/config5088843774586756277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T15:53:39.496Z] ---> docker-login.sh [2023-07-21T15:53:39.496Z] nexus3.edgexfoundry.org:10001 [2023-07-21T15:53:39.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:53:39.797Z] ---> 66d2bddbbcbc [2023-07-21T15:53:39.797Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-21T15:53:39.797Z] ---> eb1f83f69b6d [2023-07-21T15:53:39.797Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-21T15:53:40.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:53:40.037Z] Configure a credential helper to remove this warning. See [2023-07-21T15:53:40.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:53:40.037Z] [2023-07-21T15:53:40.037Z] Login Succeeded [2023-07-21T15:53:40.037Z] nexus3.edgexfoundry.org:10002 [2023-07-21T15:53:40.057Z] ---> b9c0e2f2354e [2023-07-21T15:53:40.057Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-21T15:53:40.057Z] ---> 5822a8e8e1ac [2023-07-21T15:53:40.057Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-21T15:53:40.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:53:40.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:53:40.308Z] Configure a credential helper to remove this warning. See [2023-07-21T15:53:40.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:53:40.308Z] [2023-07-21T15:53:40.308Z] Login Succeeded [2023-07-21T15:53:40.308Z] nexus3.edgexfoundry.org:10003 [2023-07-21T15:53:40.317Z] ---> ffa526d3b94b [2023-07-21T15:53:40.317Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-21T15:53:40.317Z] ---> ca0958dd25ab [2023-07-21T15:53:40.317Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-21T15:53:40.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:53:40.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:53:40.851Z] Configure a credential helper to remove this warning. See [2023-07-21T15:53:40.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:53:40.851Z] [2023-07-21T15:53:40.851Z] Login Succeeded [2023-07-21T15:53:40.851Z] nexus3.edgexfoundry.org:10004 [2023-07-21T15:53:41.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:53:41.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:53:41.121Z] Configure a credential helper to remove this warning. See [2023-07-21T15:53:41.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:53:41.121Z] [2023-07-21T15:53:41.121Z] Login Succeeded [2023-07-21T15:53:41.121Z] docker.io [2023-07-21T15:53:41.259Z] ---> 1935a8e41b59 [2023-07-21T15:53:41.259Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-21T15:53:41.259Z] ---> Running in df5ea3de3c96 [2023-07-21T15:53:41.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T15:53:41.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T15:53:41.657Z] Configure a credential helper to remove this warning. See [2023-07-21T15:53:41.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T15:53:41.657Z] [2023-07-21T15:53:41.657Z] Login Succeeded [2023-07-21T15:53:41.657Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T15:53:41.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-07-21T15:53:41.828Z] Removing intermediate container df5ea3de3c96 [2023-07-21T15:53:41.828Z] ---> 035a2b670c11 [2023-07-21T15:53:41.828Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-21T15:53:41.828Z] ---> Running in 6feeec7e613d [Pipeline] echo [2023-07-21T15:53:41.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T15:53:41.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T15:53:41.937Z] ========================================================= [2023-07-21T15:53:41.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-21T15:53:41.937Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:53:42.288Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-21T15:53:42.398Z] Removing intermediate container 6feeec7e613d [2023-07-21T15:53:42.398Z] ---> f76486aba26c [2023-07-21T15:53:42.398Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-21T15:53:42.398Z] ---> Running in 0ab83cf9a997 [2023-07-21T15:53:42.558Z] Sending build context to Docker daemon 1.445MB [2023-07-21T15:53:42.558Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-21T15:53:42.558Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-21T15:53:42.829Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-21T15:53:42.829Z] edb6bdbacee9: Pulling fs layer [2023-07-21T15:53:42.829Z] 5f9638ab2659: Pulling fs layer [2023-07-21T15:53:42.829Z] 8d51d6327a98: Pulling fs layer [2023-07-21T15:53:42.829Z] 8b374f2dd631: Pulling fs layer [2023-07-21T15:53:42.829Z] ec14aa9079de: Pulling fs layer [2023-07-21T15:53:42.829Z] 2f466654f4bb: Pulling fs layer [2023-07-21T15:53:42.829Z] 554e91adad29: Pulling fs layer [2023-07-21T15:53:42.829Z] 8b374f2dd631: Waiting [2023-07-21T15:53:42.829Z] ec14aa9079de: Waiting [2023-07-21T15:53:42.829Z] 2f466654f4bb: Waiting [2023-07-21T15:53:42.829Z] 554e91adad29: Waiting [2023-07-21T15:53:42.829Z] 5f9638ab2659: Verifying Checksum [2023-07-21T15:53:42.829Z] 5f9638ab2659: Download complete [2023-07-21T15:53:42.829Z] 8b374f2dd631: Download complete [2023-07-21T15:53:42.829Z] ec14aa9079de: Verifying Checksum [2023-07-21T15:53:42.829Z] ec14aa9079de: Download complete [2023-07-21T15:53:42.829Z] edb6bdbacee9: Download complete [2023-07-21T15:53:42.979Z] Removing intermediate container 0ab83cf9a997 [2023-07-21T15:53:42.979Z] ---> 63d75860b6a5 [2023-07-21T15:53:42.979Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-21T15:53:42.979Z] ---> Running in cab1e82ccb6a [2023-07-21T15:53:43.547Z] Removing intermediate container cab1e82ccb6a [2023-07-21T15:53:43.547Z] ---> 69807442fc98 [2023-07-21T15:53:43.547Z] Step 30/36 : EXPOSE 59983 [2023-07-21T15:53:43.547Z] ---> Running in 15a9c8e37c55 [2023-07-21T15:53:43.806Z] Removing intermediate container 15a9c8e37c55 [2023-07-21T15:53:43.806Z] ---> 9200d1ef31d3 [2023-07-21T15:53:43.806Z] Step 31/36 : EXPOSE 8554 [2023-07-21T15:53:43.806Z] ---> Running in 04df8b270e26 [2023-07-21T15:53:43.806Z] Removing intermediate container 04df8b270e26 [2023-07-21T15:53:43.806Z] ---> 21ead23cf205 [2023-07-21T15:53:43.806Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-21T15:53:43.806Z] ---> Running in 8c1be175c24d [2023-07-21T15:53:43.806Z] Removing intermediate container 8c1be175c24d [2023-07-21T15:53:43.806Z] ---> 96ff82ecff3f [2023-07-21T15:53:43.806Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-21T15:53:43.806Z] ---> Running in 47d34ec923a1 [2023-07-21T15:53:44.064Z] Removing intermediate container 47d34ec923a1 [2023-07-21T15:53:44.064Z] ---> 8aff1163c95f [2023-07-21T15:53:44.064Z] Step 34/36 : LABEL arch=amd64 [2023-07-21T15:53:44.064Z] ---> Running in d57455b56570 [2023-07-21T15:53:44.064Z] Removing intermediate container d57455b56570 [2023-07-21T15:53:44.064Z] ---> a41e2e6ee7b0 [2023-07-21T15:53:44.064Z] Step 35/36 : LABEL git_sha=fe40accf8116372c524230b06a386c02d88052ae [2023-07-21T15:53:44.064Z] ---> Running in 45754ca4960b [2023-07-21T15:53:44.256Z] edb6bdbacee9: Pull complete [2023-07-21T15:53:44.256Z] 554e91adad29: Verifying Checksum [2023-07-21T15:53:44.256Z] 554e91adad29: Download complete [2023-07-21T15:53:44.322Z] Removing intermediate container 45754ca4960b [2023-07-21T15:53:44.322Z] ---> aaee4cbd6382 [2023-07-21T15:53:44.322Z] Step 36/36 : LABEL version=0.0.0 [2023-07-21T15:53:44.322Z] ---> Running in 2254598c7e88 [2023-07-21T15:53:44.322Z] Removing intermediate container 2254598c7e88 [2023-07-21T15:53:44.322Z] ---> f9a430439194 [2023-07-21T15:53:44.322Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-21T15:53:44.322Z] Successfully built f9a430439194 [2023-07-21T15:53:44.322Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:53:44.525Z] 5f9638ab2659: Pull complete [2023-07-21T15:53:44.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T15:53:44.757Z] [2023-07-21T15:53:44.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:53:45.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T15:53:45.057Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-21T15:53:45.057Z] 5eb5b503b376: Pulling fs layer [2023-07-21T15:53:45.057Z] 5c69ac0246d0: Pulling fs layer [2023-07-21T15:53:45.057Z] ec43610c2a17: Pulling fs layer [2023-07-21T15:53:45.057Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-21T15:53:45.057Z] 33b1e0a273af: Pulling fs layer [2023-07-21T15:53:45.057Z] 5d3b04190fa2: Pulling fs layer [2023-07-21T15:53:45.057Z] 2f39f015ded8: Pulling fs layer [2023-07-21T15:53:45.057Z] 3a2ae6a8a46f: Waiting [2023-07-21T15:53:45.057Z] 33b1e0a273af: Waiting [2023-07-21T15:53:45.057Z] 5d3b04190fa2: Waiting [2023-07-21T15:53:45.057Z] 2f39f015ded8: Waiting [2023-07-21T15:53:45.057Z] 5c69ac0246d0: Download complete [2023-07-21T15:53:45.057Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-21T15:53:45.057Z] 3a2ae6a8a46f: Download complete [2023-07-21T15:53:45.057Z] 33b1e0a273af: Verifying Checksum [2023-07-21T15:53:45.057Z] 33b1e0a273af: Download complete [2023-07-21T15:53:45.057Z] 5d3b04190fa2: Verifying Checksum [2023-07-21T15:53:45.057Z] 5d3b04190fa2: Download complete [2023-07-21T15:53:45.057Z] ec43610c2a17: Verifying Checksum [2023-07-21T15:53:45.057Z] ec43610c2a17: Download complete [2023-07-21T15:53:45.314Z] 5eb5b503b376: Verifying Checksum [2023-07-21T15:53:45.314Z] 5eb5b503b376: Download complete [2023-07-21T15:53:45.490Z] 8d51d6327a98: Verifying Checksum [2023-07-21T15:53:45.490Z] 8d51d6327a98: Download complete [2023-07-21T15:53:45.490Z] 2f466654f4bb: Verifying Checksum [2023-07-21T15:53:45.490Z] 2f466654f4bb: Download complete [2023-07-21T15:53:45.883Z] 2f39f015ded8: Verifying Checksum [2023-07-21T15:53:45.884Z] 2f39f015ded8: Download complete [2023-07-21T15:53:46.449Z] 5eb5b503b376: Pull complete [2023-07-21T15:53:46.707Z] 5c69ac0246d0: Pull complete [2023-07-21T15:53:47.312Z] ec43610c2a17: Pull complete [2023-07-21T15:53:47.312Z] 3a2ae6a8a46f: Pull complete [2023-07-21T15:53:47.571Z] 33b1e0a273af: Pull complete [2023-07-21T15:53:47.571Z] 5d3b04190fa2: Pull complete [2023-07-21T15:53:52.834Z] 2f39f015ded8: Pull complete [2023-07-21T15:53:52.834Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-21T15:53:52.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T15:53:52.834Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T15:53:53.004Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-07-21T15:53:53.042Z] $ 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/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-21T15:53:57.829Z] 8d51d6327a98: Pull complete [2023-07-21T15:53:57.829Z] 8b374f2dd631: Pull complete [2023-07-21T15:53:57.829Z] ec14aa9079de: Pull complete [2023-07-21T15:53:59.297Z] $ docker top 8ae3778f2b1b72056b6fd5823153fc9139b1cd34799d4c727311753dceb74b01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T15:53:59.701Z] ---> job-cost.sh [2023-07-21T15:53:59.701Z] lf-activate-venv: SKIPPING [2023-07-21T15:53:59.701Z] INFO: No Stack... [2023-07-21T15:53:59.961Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T15:54:00.220Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T15:54:00.514Z] + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv [2023-07-21T15:54:00.514Z] + cut -d, -f6 [Pipeline] lock [2023-07-21T15:54:00.529Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-8-stack-cost] [2023-07-21T15:54:00.535Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-8-stack-cost] did not exist. Created. [2023-07-21T15:54:00.535Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T15:54:00.844Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-21T15:54:00.873Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T15:54:00.879Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T15:54:00.900Z] $ docker stop --time=1 8ae3778f2b1b72056b6fd5823153fc9139b1cd34799d4c727311753dceb74b01 [2023-07-21T15:54:02.069Z] $ docker rm -f --volumes 8ae3778f2b1b72056b6fd5823153fc9139b1cd34799d4c727311753dceb74b01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-21T15:54:03.183Z] 2f466654f4bb: Pull complete [2023-07-21T15:54:05.775Z] 554e91adad29: Pull complete [2023-07-21T15:54:05.775Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-21T15:54:05.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-21T15:54:05.775Z] ---> 1e15ea492957 [2023-07-21T15:54:05.775Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-21T15:54:07.731Z] ---> Running in 80c562469176 [2023-07-21T15:54:07.731Z] Removing intermediate container 80c562469176 [2023-07-21T15:54:07.731Z] ---> fc4172463d70 [2023-07-21T15:54:07.731Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-21T15:54:07.731Z] ---> Running in 2b0b9c141025 [2023-07-21T15:54:07.997Z] Removing intermediate container 2b0b9c141025 [2023-07-21T15:54:07.997Z] ---> 8fa0072c0633 [2023-07-21T15:54:07.997Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-21T15:54:07.997Z] ---> Running in bc0f260dfeca [2023-07-21T15:54:08.272Z] Removing intermediate container bc0f260dfeca [2023-07-21T15:54:08.272Z] ---> 89026c476c91 [2023-07-21T15:54:08.272Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-21T15:54:08.545Z] ---> Running in 38e46a2d744e [2023-07-21T15:54:08.812Z] Removing intermediate container 38e46a2d744e [2023-07-21T15:54:08.812Z] ---> 088924b25aff [2023-07-21T15:54:08.812Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-21T15:54:08.812Z] ---> Running in b0eba83e68f1 [2023-07-21T15:54:09.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-21T15:54:10.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-21T15:54:11.304Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-21T15:54:11.304Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-21T15:54:11.304Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-21T15:54:11.304Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-21T15:54:11.304Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-21T15:54:11.572Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-21T15:54:11.572Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-21T15:54:11.572Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-21T15:54:11.572Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-21T15:54:11.572Z] (10/14) Installing kmod-libs (30-r1) [2023-07-21T15:54:11.572Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-21T15:54:11.572Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-21T15:54:11.572Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-21T15:54:11.572Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-21T15:54:11.572Z] Executing busybox-1.35.0-r29.trigger [2023-07-21T15:54:11.572Z] Executing eudev-3.2.11-r4.trigger [2023-07-21T15:54:11.572Z] OK: 271 MiB in 67 packages [2023-07-21T15:54:12.989Z] Removing intermediate container b0eba83e68f1 [2023-07-21T15:54:12.989Z] ---> dbe37f816e10 [2023-07-21T15:54:12.989Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-21T15:54:12.989Z] ---> Running in 22d69b88fe78 [2023-07-21T15:54:13.257Z] Removing intermediate container 22d69b88fe78 [2023-07-21T15:54:13.257Z] ---> 4737cff6b01e [2023-07-21T15:54:13.257Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-21T15:54:13.856Z] ---> b5445f14b629 [2023-07-21T15:54:13.856Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-21T15:54:13.856Z] ---> Running in 6c8ab1c01ed3 [2023-07-21T15:55:21.725Z] Removing intermediate container 6c8ab1c01ed3 [2023-07-21T15:55:21.725Z] ---> 400a56a4b4b9 [2023-07-21T15:55:21.725Z] Step 11/13 : COPY . . [2023-07-21T15:55:21.725Z] ---> c3821eb78c9f [2023-07-21T15:55:21.725Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-21T15:55:21.725Z] ---> Running in 3c139d1ed123 [2023-07-21T15:55:21.725Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-07-21T15:55:21.725Z]   Dload Upload Total Spent Left Speed [2023-07-21T15:55:21.725Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100  1062 0 0 4510 0 --:--:-- --:--:-- --:--:-- 4538 [2023-07-21T15:55:21.725Z] Removing intermediate container 3c139d1ed123 [2023-07-21T15:55:21.725Z] ---> 4c2b2c07efd8 [2023-07-21T15:55:21.725Z] Step 13/13 : RUN ${MAKE} [2023-07-21T15:55:21.725Z] ---> Running in fac805ffdaf6 [2023-07-21T15:55:21.725Z] noop [2023-07-21T15:55:21.725Z] Removing intermediate container fac805ffdaf6 [2023-07-21T15:55:21.725Z] ---> 40dcb4b13dfd [2023-07-21T15:55:21.725Z] Successfully built 40dcb4b13dfd [2023-07-21T15:55:21.725Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:55:22.076Z] + docker inspect -f . ci-base-image-arm64 [2023-07-21T15:55:22.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T15:55:22.271Z] prd-ubuntu20.04-docker-arm64-4c-16g-1727 does not seem to be running inside a container [2023-07-21T15:55:22.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-21T15:55:23.451Z] $ docker top babd5569cd002f0277a96b80811b341a9152a26425f45386702ed7c676e06259 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T15:55:24.241Z] + go version [2023-07-21T15:55:24.241Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-21T15:55:24.263Z] $ docker stop --time=1 babd5569cd002f0277a96b80811b341a9152a26425f45386702ed7c676e06259 [2023-07-21T15:55:27.297Z] $ docker rm -f --volumes babd5569cd002f0277a96b80811b341a9152a26425f45386702ed7c676e06259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:55:27.838Z] + docker inspect -f . ci-base-image-arm64 [2023-07-21T15:55:27.838Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T15:55:28.011Z] prd-ubuntu20.04-docker-arm64-4c-16g-1727 does not seem to be running inside a container [2023-07-21T15:55:28.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-21T15:55:29.261Z] $ docker top bce1635dfc79bae0527e2889dbff81f949c810cdea7e3e0b743e550eb7a4a826 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T15:55:29.744Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/8 [Pipeline] fileExists [Pipeline] sh [2023-07-21T15:55:30.067Z] + make test [2023-07-21T15:55:30.336Z] go test ./... -coverprofile=coverage.out ./... [2023-07-21T15:56:02.553Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-21T15:57:54.221Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-21T15:58:02.424Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.084s coverage: 3.6% of statements [2023-07-21T15:58:02.692Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-21T15:58:02.692Z] go vet ./... [2023-07-21T15:58:41.580Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-21T15:58:41.580Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-21T15:58:41.580Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-21T15:58:41.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-21T15:58:41.615Z] $ docker stop --time=1 bce1635dfc79bae0527e2889dbff81f949c810cdea7e3e0b743e550eb7a4a826 [2023-07-21T15:58:43.326Z] $ docker rm -f --volumes bce1635dfc79bae0527e2889dbff81f949c810cdea7e3e0b743e550eb7a4a826 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T15:58:44.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-21T15:58:44.395Z] Warning: overwriting stash ‘coverage-report’ [2023-07-21T15:58:44.867Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T15:58:45.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-21T15:58:45.643Z] + ls -al . [2023-07-21T15:58:45.643Z] total 200 [2023-07-21T15:58:45.643Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 15:55 . [2023-07-21T15:58:45.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 15:53 .. [2023-07-21T15:58:45.643Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 15:53 .git [2023-07-21T15:58:45.643Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 15:53 .github [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 21 15:53 .gitignore [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 21 15:53 .golangci.yml [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 21 15:53 .hadolint.yml [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 21 15:53 Attribution.txt [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 21 15:53 CHANGELOG.md [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 21 15:53 Dockerfile [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 21 15:53 GOVERNANCE.md [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 21 15:53 Jenkinsfile [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 15:53 LICENSE [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 21 15:53 Makefile [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 21 15:53 OWNERS.md [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 21 15:53 README.md [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 15:51 VERSION [2023-07-21T15:58:45.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 15:53 bin [2023-07-21T15:58:45.643Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 15:53 cmd [2023-07-21T15:58:45.643Z] -rw-r--r-- 1 jenkins jenkins 42249 Jul 21 15:58 coverage.out [2023-07-21T15:58:45.643Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 21 15:53 docker-entrypoint.sh [2023-07-21T15:58:45.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 15:53 docs [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 21 15:53 go.mod [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 21 15:53 go.sum [2023-07-21T15:58:45.643Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 15:53 internal [2023-07-21T15:58:45.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 15:53 snap [2023-07-21T15:58:45.643Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 21 15:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T15:58:45.989Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fe40accf8116372c524230b06a386c02d88052ae --label arch=arm64 --label version=0.0.0 . [2023-07-21T15:58:46.282Z] Sending build context to Docker daemon 1.488MB [2023-07-21T15:58:46.282Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-21T15:58:46.282Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-21T15:58:46.282Z] ---> 40dcb4b13dfd [2023-07-21T15:58:46.282Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-21T15:58:46.553Z] ---> Running in 79d73afd7d88 [2023-07-21T15:58:46.826Z] Removing intermediate container 79d73afd7d88 [2023-07-21T15:58:46.826Z] ---> 3956f4910886 [2023-07-21T15:58:46.826Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-21T15:58:46.826Z] ---> Running in a965d8e2be47 [2023-07-21T15:58:47.104Z] Removing intermediate container a965d8e2be47 [2023-07-21T15:58:47.104Z] ---> 24558df5cc65 [2023-07-21T15:58:47.104Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-21T15:58:47.371Z] ---> Running in c38ec56d0cf7 [2023-07-21T15:58:47.640Z] Removing intermediate container c38ec56d0cf7 [2023-07-21T15:58:47.640Z] ---> 8ca924d1bd96 [2023-07-21T15:58:47.640Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-21T15:58:47.640Z] ---> Running in 2e59ee432525 [2023-07-21T15:58:47.912Z] Removing intermediate container 2e59ee432525 [2023-07-21T15:58:47.912Z] ---> d62845cb8c6c [2023-07-21T15:58:47.912Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-21T15:58:47.912Z] ---> Running in 930c7be74cd7 [2023-07-21T15:58:48.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-21T15:58:49.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-21T15:58:50.413Z] OK: 271 MiB in 67 packages [2023-07-21T15:58:51.376Z] Removing intermediate container 930c7be74cd7 [2023-07-21T15:58:51.376Z] ---> ecf36dc3a6d6 [2023-07-21T15:58:51.376Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-21T15:58:51.376Z] ---> Running in 58a462b79a01 [2023-07-21T15:58:51.643Z] Removing intermediate container 58a462b79a01 [2023-07-21T15:58:51.643Z] ---> d78ca0635cae [2023-07-21T15:58:51.643Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-21T15:58:51.911Z] ---> 3bdd99a8bc29 [2023-07-21T15:58:51.911Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-21T15:58:52.179Z] ---> Running in d7a6a3c0c276 [2023-07-21T15:58:54.757Z] Removing intermediate container d7a6a3c0c276 [2023-07-21T15:58:54.757Z] ---> 60b7e3b5c703 [2023-07-21T15:58:54.757Z] Step 11/36 : COPY . . [2023-07-21T15:58:55.718Z] ---> e6f845a326bf [2023-07-21T15:58:55.718Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-21T15:58:55.989Z] ---> Running in 258561d2e736 [2023-07-21T15:58:56.953Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T15:58:56.953Z] Dload Upload Total Spent Left Speed [2023-07-21T15:58:56.953Z] 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3395 0 --:--:-- --:--:-- --:--:-- 3403 [2023-07-21T15:58:57.924Z] Removing intermediate container 258561d2e736 [2023-07-21T15:58:57.924Z] ---> 32c26dbd0c43 [2023-07-21T15:58:57.924Z] Step 13/36 : RUN ${MAKE} [2023-07-21T15:58:57.924Z] ---> Running in 3bfa63bbddf3 [2023-07-21T15:58:58.907Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-07-21T16:01:20.583Z] Removing intermediate container 3bfa63bbddf3 [2023-07-21T16:01:20.583Z] ---> 80a2a56ec92b [2023-07-21T16:01:20.583Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-21T16:01:20.583Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-21T16:01:20.583Z] 8766b47fe142: Pulling fs layer [2023-07-21T16:01:20.583Z] 8766b47fe142: Verifying Checksum [2023-07-21T16:01:20.583Z] 8766b47fe142: Download complete [2023-07-21T16:01:20.583Z] 8766b47fe142: Pull complete [2023-07-21T16:01:20.583Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-21T16:01:20.583Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-21T16:01:20.583Z] ---> 69d40e2cb93c [2023-07-21T16:01:20.583Z] Step 15/36 : FROM alpine:3.17 [2023-07-21T16:01:20.583Z] 3.17: Pulling from library/alpine [2023-07-21T16:01:20.583Z] edb6bdbacee9: Already exists [2023-07-21T16:01:20.851Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-21T16:01:20.851Z] Status: Downloaded newer image for alpine:3.17 [2023-07-21T16:01:20.851Z] ---> 779605e5fbc0 [2023-07-21T16:01:20.851Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-21T16:01:20.851Z] ---> Running in 35acb6e977a7 [2023-07-21T16:01:21.120Z] Removing intermediate container 35acb6e977a7 [2023-07-21T16:01:21.120Z] ---> 4c82bf07ebca [2023-07-21T16:01:21.120Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-21T16:01:21.120Z] ---> Running in 2a2eba2d1a04 [2023-07-21T16:01:22.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-21T16:01:22.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-21T16:01:23.622Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-07-21T16:01:23.622Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-07-21T16:01:23.622Z] (3/83) Installing libxau (1.0.10-r0) [2023-07-21T16:01:23.622Z] (4/83) Installing libmd (1.0.4-r0) [2023-07-21T16:01:23.622Z] (5/83) Installing libbsd (0.11.7-r0) [2023-07-21T16:01:23.622Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-07-21T16:01:23.622Z] (7/83) Installing libxcb (1.15-r0) [2023-07-21T16:01:23.888Z] (8/83) Installing libx11 (1.8.4-r1) [2023-07-21T16:01:23.888Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-07-21T16:01:24.153Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-07-21T16:01:24.153Z] (11/83) Installing libexpat (2.5.0-r0) [2023-07-21T16:01:24.153Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-07-21T16:01:24.153Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-07-21T16:01:24.153Z] (14/83) Installing libpng (1.6.38-r0) [2023-07-21T16:01:24.153Z] (15/83) Installing freetype (2.12.1-r0) [2023-07-21T16:01:24.153Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-07-21T16:01:24.418Z] (17/83) Installing fribidi (1.0.12-r0) [2023-07-21T16:01:24.418Z] (18/83) Installing libffi (3.4.4-r0) [2023-07-21T16:01:24.418Z] (19/83) Installing libintl (0.21.1-r1) [2023-07-21T16:01:24.418Z] (20/83) Installing libblkid (2.38.1-r1) [2023-07-21T16:01:24.418Z] (21/83) Installing libmount (2.38.1-r1) [2023-07-21T16:01:24.418Z] (22/83) Installing pcre2 (10.42-r0) [2023-07-21T16:01:24.418Z] (23/83) Installing glib (2.74.7-r0) [2023-07-21T16:01:24.682Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-07-21T16:01:24.682Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-07-21T16:01:24.682Z] (26/83) Installing libass (0.16.0-r1) [2023-07-21T16:01:24.682Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-07-21T16:01:24.682Z] (28/83) Installing libdrm (2.4.114-r0) [2023-07-21T16:01:24.682Z] (29/83) Installing gmp (6.2.1-r2) [2023-07-21T16:01:24.682Z] (30/83) Installing nettle (3.8.1-r0) [2023-07-21T16:01:24.682Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-07-21T16:01:24.682Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-07-21T16:01:24.682Z] (33/83) Installing libunistring (1.1-r0) [2023-07-21T16:01:24.682Z] (34/83) Installing gnutls (3.7.8-r3) [2023-07-21T16:01:24.948Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-21T16:01:24.948Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-21T16:01:24.948Z] (37/83) Installing lame (3.100-r2) [2023-07-21T16:01:24.948Z] (38/83) Installing opus (1.3.1-r1) [2023-07-21T16:01:24.948Z] (39/83) Installing libasyncns (0.8-r1) [2023-07-21T16:01:24.948Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-07-21T16:01:24.948Z] (41/83) Installing libltdl (2.4.7-r1) [2023-07-21T16:01:24.948Z] (42/83) Installing orc (0.4.33-r0) [2023-07-21T16:01:24.948Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-07-21T16:01:24.948Z] (44/83) Installing libogg (1.3.5-r2) [2023-07-21T16:01:24.948Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-21T16:01:24.948Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-07-21T16:01:24.948Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-07-21T16:01:24.948Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-07-21T16:01:24.948Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-07-21T16:01:25.214Z] (50/83) Installing soxr (0.1.3-r3) [2023-07-21T16:01:25.214Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-07-21T16:01:25.214Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-07-21T16:01:25.214Z] (53/83) Installing libpulse (16.1-r6) [2023-07-21T16:01:25.214Z] (54/83) Installing cjson (1.7.15-r3) [2023-07-21T16:01:25.214Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-07-21T16:01:25.214Z] (56/83) Installing librist (0.2.7-r0) [2023-07-21T16:01:25.214Z] (57/83) Installing libsrt (1.5.1-r0) [2023-07-21T16:01:25.214Z] (58/83) Installing libssh (0.10.5-r0) [2023-07-21T16:01:25.214Z] (59/83) Installing libtheora (1.1.1-r16) [2023-07-21T16:01:25.214Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-07-21T16:01:25.214Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-07-21T16:01:25.214Z] (62/83) Installing libxext (1.3.5-r0) [2023-07-21T16:01:25.214Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-07-21T16:01:25.214Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-07-21T16:01:25.214Z] (65/83) Installing libva (2.16.0-r0) [2023-07-21T16:01:25.214Z] (66/83) Installing libvdpau (1.5-r0) [2023-07-21T16:01:25.214Z] (67/83) Installing vidstab (1.1.0-r2) [2023-07-21T16:01:25.214Z] (68/83) Installing libvpx (1.12.0-r1) [2023-07-21T16:01:25.479Z] (69/83) Installing libwebp (1.2.4-r2) [2023-07-21T16:01:25.479Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-07-21T16:01:25.479Z] (71/83) Installing numactl (2.0.16-r1) [2023-07-21T16:01:25.479Z] (72/83) Installing x265-libs (3.5-r3) [2023-07-21T16:01:25.743Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-07-21T16:01:25.743Z] (74/83) Installing libsodium (1.0.18-r2) [2023-07-21T16:01:25.743Z] (75/83) Installing libzmq (4.3.4-r1) [2023-07-21T16:01:25.743Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-07-21T16:01:26.697Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-07-21T16:01:26.697Z] (78/83) Installing udev-init-scripts (35-r1) [2023-07-21T16:01:26.697Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-07-21T16:01:26.697Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-07-21T16:01:26.697Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-07-21T16:01:26.697Z] (82/83) Installing kmod-libs (30-r1) [2023-07-21T16:01:26.697Z] (83/83) Installing eudev (3.2.11-r4) [2023-07-21T16:01:26.697Z] Executing busybox-1.35.0-r29.trigger [2023-07-21T16:01:26.697Z] Executing eudev-3.2.11-r4.trigger [2023-07-21T16:01:26.697Z] OK: 86 MiB in 98 packages [2023-07-21T16:01:30.033Z] Removing intermediate container 2a2eba2d1a04 [2023-07-21T16:01:30.033Z] ---> 403a04811003 [2023-07-21T16:01:30.033Z] Step 18/36 : WORKDIR / [2023-07-21T16:01:30.033Z] ---> Running in 39ad66d55336 [2023-07-21T16:01:30.299Z] Removing intermediate container 39ad66d55336 [2023-07-21T16:01:30.299Z] ---> 9f539633e6ff [2023-07-21T16:01:30.299Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-21T16:01:31.702Z] ---> bfbef2b1f37b [2023-07-21T16:01:31.702Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-21T16:01:32.283Z] ---> 9ea8b190e6bd [2023-07-21T16:01:32.283Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-21T16:01:32.868Z] ---> d242d753d88d [2023-07-21T16:01:32.868Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-21T16:01:33.136Z] ---> 2b86d604a5bf [2023-07-21T16:01:33.136Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-21T16:01:33.716Z] ---> 6c5336091a00 [2023-07-21T16:01:33.717Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-21T16:01:33.983Z] ---> 2eedd6384c49 [2023-07-21T16:01:33.983Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-21T16:01:35.385Z] ---> 2a32be8c7b10 [2023-07-21T16:01:35.385Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-21T16:01:35.385Z] ---> Running in 0a2c95e8930c [2023-07-21T16:01:36.794Z] Removing intermediate container 0a2c95e8930c [2023-07-21T16:01:36.794Z] ---> a5e193b7bac9 [2023-07-21T16:01:36.794Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-21T16:01:36.794Z] ---> Running in 0724779c25b9 [2023-07-21T16:01:38.732Z] Removing intermediate container 0724779c25b9 [2023-07-21T16:01:38.732Z] ---> a3569ecbb83a [2023-07-21T16:01:38.732Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-21T16:01:38.732Z] ---> Running in 594d9a6672a1 [2023-07-21T16:01:40.134Z] Removing intermediate container 594d9a6672a1 [2023-07-21T16:01:40.134Z] ---> 809bd067659e [2023-07-21T16:01:40.134Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-21T16:01:40.134Z] ---> Running in 1c16cc7e6d1c [2023-07-21T16:01:41.540Z] Removing intermediate container 1c16cc7e6d1c [2023-07-21T16:01:41.540Z] ---> 3da4bb435a96 [2023-07-21T16:01:41.540Z] Step 30/36 : EXPOSE 59983 [2023-07-21T16:01:41.540Z] ---> Running in 6842a00f6d69 [2023-07-21T16:01:41.806Z] Removing intermediate container 6842a00f6d69 [2023-07-21T16:01:41.806Z] ---> 97458be6355e [2023-07-21T16:01:41.806Z] Step 31/36 : EXPOSE 8554 [2023-07-21T16:01:41.806Z] ---> Running in d0be943bdde0 [2023-07-21T16:01:42.074Z] Removing intermediate container d0be943bdde0 [2023-07-21T16:01:42.074Z] ---> 3eef7a6e5c05 [2023-07-21T16:01:42.074Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-21T16:01:42.074Z] ---> Running in de44497cf222 [2023-07-21T16:01:42.340Z] Removing intermediate container de44497cf222 [2023-07-21T16:01:42.340Z] ---> 4777878ffa12 [2023-07-21T16:01:42.340Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-21T16:01:42.609Z] ---> Running in e4fdba8a716e [2023-07-21T16:01:42.875Z] Removing intermediate container e4fdba8a716e [2023-07-21T16:01:42.875Z] ---> c721ab621158 [2023-07-21T16:01:42.875Z] Step 34/36 : LABEL arch=arm64 [2023-07-21T16:01:42.875Z] ---> Running in a0fd78d90dfb [2023-07-21T16:01:43.142Z] Removing intermediate container a0fd78d90dfb [2023-07-21T16:01:43.142Z] ---> d9eb9f1b3cc3 [2023-07-21T16:01:43.142Z] Step 35/36 : LABEL git_sha=fe40accf8116372c524230b06a386c02d88052ae [2023-07-21T16:01:43.142Z] ---> Running in 7e455627751f [2023-07-21T16:01:43.417Z] Removing intermediate container 7e455627751f [2023-07-21T16:01:43.417Z] ---> 78a1fc1faf03 [2023-07-21T16:01:43.417Z] Step 36/36 : LABEL version=0.0.0 [2023-07-21T16:01:43.417Z] ---> Running in bc03bee07d7e [2023-07-21T16:01:43.683Z] Removing intermediate container bc03bee07d7e [2023-07-21T16:01:43.683Z] ---> 3484a53ec0c5 [2023-07-21T16:01:43.683Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-21T16:01:43.949Z] Successfully built 3484a53ec0c5 [2023-07-21T16:01:43.949Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T16:01:44.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T16:01:44.378Z] [2023-07-21T16:01:44.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T16:01:44.714Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T16:01:44.714Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-21T16:01:44.714Z] 8998bd30e6a1: Pulling fs layer [2023-07-21T16:01:44.714Z] 04944245beec: Pulling fs layer [2023-07-21T16:01:44.714Z] 699f458cf7ca: Pulling fs layer [2023-07-21T16:01:44.714Z] 765212b225bb: Pulling fs layer [2023-07-21T16:01:44.714Z] f23df028b6ca: Pulling fs layer [2023-07-21T16:01:44.714Z] d65c8cfc05b1: Pulling fs layer [2023-07-21T16:01:44.714Z] 2437ff75d9bd: Pulling fs layer [2023-07-21T16:01:44.714Z] f23df028b6ca: Waiting [2023-07-21T16:01:44.714Z] d65c8cfc05b1: Waiting [2023-07-21T16:01:44.714Z] 2437ff75d9bd: Waiting [2023-07-21T16:01:44.714Z] 765212b225bb: Waiting [2023-07-21T16:01:44.983Z] 04944245beec: Verifying Checksum [2023-07-21T16:01:44.983Z] 04944245beec: Download complete [2023-07-21T16:01:44.983Z] 765212b225bb: Verifying Checksum [2023-07-21T16:01:44.983Z] 765212b225bb: Download complete [2023-07-21T16:01:44.983Z] f23df028b6ca: Verifying Checksum [2023-07-21T16:01:44.983Z] f23df028b6ca: Download complete [2023-07-21T16:01:44.983Z] d65c8cfc05b1: Verifying Checksum [2023-07-21T16:01:44.983Z] d65c8cfc05b1: Download complete [2023-07-21T16:01:44.983Z] 699f458cf7ca: Verifying Checksum [2023-07-21T16:01:44.983Z] 699f458cf7ca: Download complete [2023-07-21T16:01:45.562Z] 8998bd30e6a1: Verifying Checksum [2023-07-21T16:01:45.562Z] 8998bd30e6a1: Download complete [2023-07-21T16:01:47.503Z] 2437ff75d9bd: Verifying Checksum [2023-07-21T16:01:47.503Z] 2437ff75d9bd: Download complete [2023-07-21T16:01:49.437Z] 8998bd30e6a1: Pull complete [2023-07-21T16:01:49.703Z] 04944245beec: Pull complete [2023-07-21T16:01:51.117Z] 699f458cf7ca: Pull complete [2023-07-21T16:01:51.117Z] 765212b225bb: Pull complete [2023-07-21T16:01:51.700Z] f23df028b6ca: Pull complete [2023-07-21T16:01:51.968Z] d65c8cfc05b1: Pull complete [2023-07-21T16:02:06.951Z] 2437ff75d9bd: Pull complete [2023-07-21T16:02:06.951Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-21T16:02:06.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T16:02:06.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T16:02:07.127Z] prd-ubuntu20.04-docker-arm64-4c-16g-1727 does not seem to be running inside a container [2023-07-21T16:02:07.190Z] $ 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-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-21T16:02:09.603Z] $ docker top dc1626f43c62b2f39cb97e05f7a3d9f0308fc8a71f34a165ac783ab54d035923 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T16:02:10.422Z] ---> job-cost.sh [2023-07-21T16:02:10.422Z] lf-activate-venv: SKIPPING [2023-07-21T16:02:10.422Z] INFO: No Stack... [2023-07-21T16:02:10.688Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-21T16:02:11.649Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T16:02:11.965Z] + cat /w/workspace/device-usb-camera/8/archives/cost.csv [2023-07-21T16:02:11.965Z] + cut -d, -f6 [Pipeline] lock [2023-07-21T16:02:12.018Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-8-stack-cost] [2023-07-21T16:02:12.024Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-8-stack-cost] did not exist. Created. [2023-07-21T16:02:12.024Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T16:02:12.369Z] /w/workspace/device-usb-camera/8@tmp/durable-71fbc256/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-21T16:02:12.702Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-21T16:02:12.727Z] Warning: overwriting stash ‘stack-cost’ [2023-07-21T16:02:12.774Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T16:02:12.780Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T16:02:12.808Z] $ docker stop --time=1 dc1626f43c62b2f39cb97e05f7a3d9f0308fc8a71f34a165ac783ab54d035923 [2023-07-21T16:02:14.275Z] $ docker rm -f --volumes dc1626f43c62b2f39cb97e05f7a3d9f0308fc8a71f34a165ac783ab54d035923 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-07-21T16:02:14.691Z] provisioning config files... [2023-07-21T16:02:14.698Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config37633927492535247tmp [Pipeline] { [Pipeline] sh [2023-07-21T16:02:14.991Z] + set +x [2023-07-21T16:02:14.991Z] + curl -s https://codecov.io/bash [2023-07-21T16:02:14.991Z] + bash -s -- [2023-07-21T16:02:15.251Z] [2023-07-21T16:02:15.251Z] _____ _ [2023-07-21T16:02:15.251Z] / ____| | | [2023-07-21T16:02:15.251Z] | | ___ __| | ___ ___ _____ __ [2023-07-21T16:02:15.251Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-21T16:02:15.251Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-21T16:02:15.251Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-21T16:02:15.251Z] Bash-1.0.6 [2023-07-21T16:02:15.251Z] [2023-07-21T16:02:15.251Z] [2023-07-21T16:02:15.251Z] ==> git version 2.25.1 found [2023-07-21T16:02:15.251Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-07-21T16:02:15.251Z] Release-Date: 2020-01-08 [2023-07-21T16:02:15.251Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-21T16:02:15.251Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-21T16:02:15.251Z] ==> Jenkins CI detected. [2023-07-21T16:02:15.251Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-265 [2023-07-21T16:02:15.251Z] project root: . [2023-07-21T16:02:15.251Z] --> token set from env [2023-07-21T16:02:15.251Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-21T16:02:15.251Z] ==> Running gcov in . (disable via -X gcov) [2023-07-21T16:02:15.251Z] ==> Python coveragepy not found [2023-07-21T16:02:15.251Z] ==> Searching for coverage reports in: [2023-07-21T16:02:15.251Z] + . [2023-07-21T16:02:15.251Z] -> Found 1 reports [2023-07-21T16:02:15.251Z] ==> Detecting git/mercurial file structure [2023-07-21T16:02:15.251Z] ==> Reading reports [2023-07-21T16:02:15.251Z] + ./coverage.out bytes=42249 [2023-07-21T16:02:15.251Z] ==> Appending adjustments [2023-07-21T16:02:15.251Z] https://docs.codecov.io/docs/fixing-reports [2023-07-21T16:02:15.509Z] + Found adjustments [2023-07-21T16:02:15.509Z] ==> Gzipping contents [2023-07-21T16:02:15.509Z] 8.0K /tmp/codecov.H7hMJx.gz [2023-07-21T16:02:15.509Z] ==> Uploading reports [2023-07-21T16:02:15.509Z] url: https://codecov.io [2023-07-21T16:02:15.509Z] query: branch=PR-265&commit=fe40accf8116372c524230b06a386c02d88052ae&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-21T16:02:15.509Z] -> Pinging Codecov [2023-07-21T16:02:15.509Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-265&commit=fe40accf8116372c524230b06a386c02d88052ae&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-21T16:02:15.509Z] -> Uploading to [2023-07-21T16:02:15.509Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-21/73D8F5FF140700D3E01443B452E23636/fe40accf8116372c524230b06a386c02d88052ae/53e6b90e-a2a2-495e-bd92-b1dad41882ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230721T160215Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2afe569b0100f27b982d61a588ffbf237b9e84340627203288eaa53531a97d76 [2023-07-21T16:02:15.509Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T16:02:15.509Z] Dload Upload Total Spent Left Speed [2023-07-21T16:02:15.769Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5612 0 0 100 5612 0 26980 --:--:-- --:--:-- --:--:-- 26851 100 5612 0 0 100 5612 0 26851 --:--:-- --:--:-- --:--:-- 26851 [2023-07-21T16:02:15.769Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/fe40accf8116372c524230b06a386c02d88052ae [Pipeline] } [2023-07-21T16:02:15.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-21T16:02:16.536Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] [2023-07-21T16:02:16.536Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-21T16:02:16.536Z] total 16 [2023-07-21T16:02:16.536Z] drwxr-xr-x 3 root root 4096 Jul 21 15:54 . [2023-07-21T16:02:16.536Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 15:54 .. [2023-07-21T16:02:16.536Z] drwxr-xr-x 2 root root 4096 Jul 21 15:54 cost [2023-07-21T16:02:16.536Z] -rw-r--r-- 1 root root 89 Jul 21 15:54 cost.csv [2023-07-21T16:02:16.536Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-21T16:02:16.536Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-21T16:02:16.536Z] total 16 [2023-07-21T16:02:16.536Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 15:54 . [2023-07-21T16:02:16.536Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 15:54 .. [2023-07-21T16:02:16.536Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 15:54 cost [2023-07-21T16:02:16.536Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 21 15:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-21T16:02:16.825Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T16:02:17.684Z] ---> package-listing.sh [2023-07-21T16:02:17.684Z] ++ facter osfamily [2023-07-21T16:02:17.684Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-21T16:02:17.943Z] + OS_FAMILY=debian [2023-07-21T16:02:17.943Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-265 [2023-07-21T16:02:17.943Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-21T16:02:17.943Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-21T16:02:17.943Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-21T16:02:17.943Z] + PACKAGES=/tmp/packages_start.txt [2023-07-21T16:02:17.943Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-21T16:02:17.943Z] + PACKAGES=/tmp/packages_end.txt [2023-07-21T16:02:17.943Z] + case "${OS_FAMILY}" in [2023-07-21T16:02:17.943Z] + dpkg -l [2023-07-21T16:02:17.943Z] + grep '^ii' [2023-07-21T16:02:17.943Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-21T16:02:17.943Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-21T16:02:17.943Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-21T16:02:17.943Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-21T16:02:17.943Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ [2023-07-21T16:02:17.943Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo [2023-07-21T16:02:17.954Z] 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/foundry_device-usb-camera_PR-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-21T16:02:18.232Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T16:02:18.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T16:02:18.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T16:02:18.876Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-07-21T16:02:18.910Z] $ 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/foundry_device-usb-camera_PR-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-21T16:02:19.152Z] $ docker top adaa53bfb6d4eb4f5c2fd78f4ff05853465c20e6ad0ee1d2d8fb74523d5c9289 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T16:02:19.495Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-21T16:02:19.786Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-21T16:02:20.072Z] + ls /var/log/sa-host [2023-07-21T16:02:20.072Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T16:02:20.217Z] provisioning config files... [2023-07-21T16:02:20.224Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config11068051758818809623tmp [Pipeline] { [Pipeline] echo [2023-07-21T16:02:20.245Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T16:02:20.528Z] ---> create-netrc.sh [Pipeline] } [2023-07-21T16:02:20.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-21T16:02:20.865Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-21T16:02:20.872Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T16:02:21.157Z] ---> sudo-logs.sh [2023-07-21T16:02:21.157Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-21T16:02:21.181Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T16:02:21.460Z] ---> job-cost.sh [2023-07-21T16:02:21.460Z] lf-activate-venv: SKIPPING [2023-07-21T16:02:21.460Z] DEBUG: total: 0.2199999988079071 [2023-07-21T16:02:21.460Z] INFO: Retrieving Stack Cost... [2023-07-21T16:02:22.029Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T16:02:22.289Z] INFO: Archiving Costs [Pipeline] echo [2023-07-21T16:02:22.299Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T16:02:22.586Z] ---> logs-deploy.sh [2023-07-21T16:02:22.586Z] lf-activate-venv: SKIPPING [2023-07-21T16:02:22.586Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/8 [2023-07-21T16:02:22.586Z] INFO: archiving workspace using pattern(s): [2023-07-21T16:02:23.523Z] Archives upload complete. [2023-07-21T16:02:23.523Z] INFO: archiving logs to Nexus