You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran the python sample command again, when it reached the analyzing stage, I found that it seemed to be stuck, and there was no response after waiting for a long time.
When I ran the python sample command again, when it reached the analyzing stage, I found that it seemed to be stuck, and there was no response after waiting for a long time.
command:
pack build python-sample --builder openfunction/gcp-builder:v1 --env GOOGLE_FUNCTION_TARGET=hello_world --verbose
output:
(base) ➜ hello-world-python git:(main) pack build python-sample --builder openfunction/gcp-builder:v1 --env GOOGLE_FUNCTION_TARGET=hello_world --verbose
Builder openfunction/gcp-builder:v1 is untrusted
As a result, the phases of the lifecycle which require root access will be run in separate trusted ephemeral containers.
For more information, see https://medium.com/buildpacks/faster-more-secure-builds-with-pack-0-11-0-4d0c633ca619
Pulling image index.docker.io/openfunction/gcp-builder:v1
v1: Pulling from openfunction/gcp-builder
Digest: sha256:3d296221b2af792419753e04bee81e1b3a11531c31a75d731556c7d444ce43bc
Status: Image is up to date for openfunction/gcp-builder:v1
Selected run image openfunction/buildpacks-gcp-run:v1
Pulling image openfunction/buildpacks-gcp-run:v1
v1: Pulling from openfunction/buildpacks-gcp-run
Digest: sha256:17ef6b471598da30c935a7a1be861ca2b2d66e10b378f99ed546bc4a8d429a96
Status: Image is up to date for openfunction/buildpacks-gcp-run:v1
Pulling image buildpacksio/lifecycle:0.11.1
0.11.1: Pulling from buildpacksio/lifecycle
Digest: sha256:2ca9870d9472400792bdc2d43ded8df2642ffcf937e8cd01685836678c28780b
Status: Image is up to date for buildpacksio/lifecycle:0.11.1
Creating builder with the following buildpacks:
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
-> [email protected]
Provided Environment Variables
GOOGLE_FUNCTION_TARGET=hello_world
Using build cache volume pack-cache-library_python-sample_latest-a1e7d2840988.build
===> DETECTING
Running the detector on OS linux with:
Container Settings:
Args: /cnb/lifecycle/detector -app /workspace -log-level debug
System Envs: CNB_PLATFORM_API=0.6
Image: pack.local/builder/6b6e6f757a6567717967:latest
User:
Labels: map[author:pack]
Host Settings:
Binds: pack-layers-omuitrkdzg:/layers pack-app-ubbrfopbsb:/workspace
Network Mode:
[detector] ======== Output: [email protected] ========
[detector] Opting in: GOOGLE_FUNCTION_TARGET set to "hello_world"
[detector] ======== Output: [email protected] ========
[detector] Opting out: no project files or .dll files found
[detector] ======== Output: [email protected] ========
[detector] Opting out: no project files found and GOOGLE_BUILDABLE not set
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_ENTRYPOINT not set and Procfile not found
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] pass: [email protected]
[detector] fail: [email protected]
[detector] fail: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: no project files or .dll files found
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_ENTRYPOINT not set and Procfile not found
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] fail: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: no .go files found
[detector] ======== Output: [email protected] ========
[detector] Opting in: GOOGLE_FUNCTION_TARGET set to "hello_world"
[detector] ======== Output: [email protected] ========
[detector] Opting out: no .go files found
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_ENTRYPOINT not set and Procfile not found
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_CLEAR_SOURCE not set
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] pass: [email protected]
[detector] fail: [email protected]
[detector] skip: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: no .go files found
[detector] ======== Output: [email protected] ========
[detector] Opting in: go.mod file not found, assuming GOPATH build
[detector] ======== Output: [email protected] ========
[detector] Opting out: no .go files found
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_ENTRYPOINT not set and Procfile not found
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_CLEAR_SOURCE not set
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] pass: [email protected]
[detector] fail: [email protected]
[detector] skip: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml, .mvn/extensions.xml, build.gradle, build.gradle.kts, META-INF/MANIFEST.MF, *.java, *.jar
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml or .mvn/extensions.xml.
[detector] ======== Output: [email protected] ========
[detector] Opting in: GOOGLE_FUNCTION_TARGET set to "hello_world"
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_CLEAR_SOURCE not set
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] fail: [email protected]
[detector] pass: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml, .mvn/extensions.xml, build.gradle, build.gradle.kts, META-INF/MANIFEST.MF, *.java, *.jar
[detector] ======== Output: [email protected] ========
[detector] Opting out: neither build.gradle nor build.gradle.kts found
[detector] ======== Output: [email protected] ========
[detector] Opting in: GOOGLE_FUNCTION_TARGET set to "hello_world"
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_CLEAR_SOURCE not set
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml, .mvn/extensions.xml, build.gradle, build.gradle.kts, META-INF/MANIFEST.MF, *.java, *.jar
[detector] ======== Output: [email protected] ========
[detector] Opting out: META-INF/MANIFEST.MF not found
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] fail: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml, .mvn/extensions.xml, build.gradle, build.gradle.kts, META-INF/MANIFEST.MF, *.java, *.jar
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml or .mvn/extensions.xml.
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_ENTRYPOINT not set and Procfile not found
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_CLEAR_SOURCE not set
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] fail: [email protected]
[detector] fail: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml, .mvn/extensions.xml, build.gradle, build.gradle.kts, META-INF/MANIFEST.MF, *.java, *.jar
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml or .mvn/extensions.xml.
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_CLEAR_SOURCE not set
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] fail: [email protected]
[detector] pass: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml, .mvn/extensions.xml, build.gradle, build.gradle.kts, META-INF/MANIFEST.MF, *.java, *.jar
[detector] ======== Output: [email protected] ========
[detector] Opting out: neither build.gradle nor build.gradle.kts found
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_ENTRYPOINT not set and Procfile not found
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_CLEAR_SOURCE not set
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] skip: [email protected]
[detector] fail: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting out: none of the following found: pom.xml, .mvn/extensions.xml, build.gradle, build.gradle.kts, META-INF/MANIFEST.MF, *.java, *.jar
[detector] ======== Output: [email protected] ========
[detector] Opting out: neither build.gradle nor build.gradle.kts found
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_CLEAR_SOURCE not set
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] fail: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] ======== Output: [email protected] ========
[detector] Opting in: found .py files
[detector] ======== Output: [email protected] ========
[detector] Opting in: GOOGLE_FUNCTION_TARGET set to "hello_world"
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Output: [email protected] ========
[detector] Opting out: GOOGLE_ENTRYPOINT not set and Procfile not found
[detector] ======== Output: [email protected] ========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] pass: [email protected]
[detector] pass: [email protected]
[detector] pass: [email protected]
[detector] skip: [email protected]
[detector] pass: [email protected]
[detector] Resolving plan... (try #1)
[detector] 4 of 5 buildpacks participating
[detector] google.python.runtime 0.9.1
[detector] google.python.functions-framework 0.9.4
[detector] google.python.pip 0.9.2
[detector] google.utils.label 0.0.1
===> ANALYZING
Running the analyzer on OS linux with:
Container Settings:
Args: /cnb/lifecycle/analyzer -log-level debug -daemon -cache-dir /cache python-sample
System Envs: CNB_USER_ID=1000 CNB_GROUP_ID=1000 CNB_PLATFORM_API=0.6
Image: buildpacksio/lifecycle:0.11.1
User: root
Labels: map[author:pack]
Host Settings:
Binds: /var/run/docker.sock:/var/run/docker.sock pack-cache-library_python-sample_latest-a1e7d2840988.build:/cache pack-layers-omuitrkdzg:/layers pack-app-ubbrfopbsb:/workspace
Network Mode:
The text was updated successfully, but these errors were encountered: