What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version
?
{
"name": "",
"build": "",
"support": "https://support.pivotal.io",
"version": 0,
"description": "",
"authorization_endpoint": "",
"token_endpoint": "",
"min_cli_version": "6.7.0",
"min_recommended_cli_version": "6.11.2",
"api_version": "2.54.0",
"app_ssh_endpoint": "",
"app_ssh_host_key_fingerprint": "3c:e2:ce:3d:fc:61:f6:84:f9:75:cd:03:c1:b4:c3:73",
"app_ssh_oauth_client": "ssh-proxy",
"logging_endpoint": "",
"doppler_logging_endpoint": "",
"user": ""
}
What version of the buildpack you are using?
version is 1.0.1
If you were attempting to accomplish a task, what was it you were attempting to do?
I'm unable to run a console application. I have said no-route to true, health check status to process, command as <>.exe
What did you expect to happen?
The console app should start like a process
What was the actual behavior?
Even though I gave the start command it is not picking up the same. It says start command cannot be found and it is getting crashed.
logs are as below
Connected, dumping recent logs for app CFConsoleApp in org Foundry Dev / space Microservices as admin...
2017-05-03T17:00:09.76+0530 [STG/0] OUT Downloading binary_buildpack...
2017-05-03T17:00:09.79+0530 [STG/0] OUT Downloaded binary_buildpack
2017-05-03T17:00:09.79+0530 [STG/0] OUT Creating container
2017-05-03T17:00:12.07+0530 [STG/0] OUT Successfully created container
2017-05-03T17:00:12.08+0530 [STG/0] OUT Downloading app package...
2017-05-03T17:00:12.50+0530 [STG/0] OUT Downloaded app package (30.4K)
2017-05-03T17:00:12.50+0530 [STG/0] OUT Staging...
2017-05-03T17:00:12.57+0530 [STG/0] ERR No start command detected
2017-05-03T17:00:12.71+0530 [STG/0] OUT Uploading droplet...
2017-05-03T17:00:12.71+0530 [STG/0] OUT Exit status 0
2017-05-03T17:00:12.71+0530 [STG/0] OUT Staging complete
2017-05-03T17:00:12.71+0530 [STG/0] OUT Uploading droplet, build artifacts cache...
2017-05-03T17:00:12.71+0530 [STG/0] OUT Uploading build artifacts cache...
2017-05-03T17:00:12.77+0530 [STG/0] OUT Uploaded build artifacts cache (87B)
2017-05-03T17:00:35.25+0530 [API/0] OUT Created app with guid 32384a05-4605-4da5-bad1-1c7869993e68
2017-05-03T17:00:37.79+0530 [STG/0] OUT Uploaded droplet (22.1K)
2017-05-03T17:00:37.79+0530 [STG/0] OUT Uploading complete
2017-05-03T17:00:38.10+0530 [CELL/0] OUT Creating container
2017-05-03T17:00:41.72+0530 [CELL/0] OUT Successfully created container
2017-05-03T17:00:42.74+0530 [APP/0] OUT Running bin/release/CFConsoleApp.exe
2017-05-03T17:00:44.36+0530 [API/0] OUT Updated app with guid 32384a05-4605-4da5-bad1-1c7869993e68 ({"state"=>"STARTED"})
2017-05-03T17:00:44.79+0530 [APP/0] OUT Exit status 2
2017-05-03T17:00:45.02+0530 [CELL/0] OUT Exit status -26
2017-05-03T17:00:45.05+0530 [CELL/0] OUT Creating container
2017-05-03T17:00:48.47+0530 [CELL/0] OUT Successfully created container
2017-05-03T17:00:50.45+0530 [APP/0] OUT Running bin/release/CFConsoleApp.exe
2017-05-03T17:00:50.45+0530 [APP/0] OUT Exit status 2
2017-05-03T17:00:50.67+0530 [CELL/0] OUT Exit status -26
2017-05-03T17:00:50.71+0530 [CELL/0] OUT Creating container
2017-05-03T17:00:54.06+0530 [CELL/0] OUT Successfully created container
2017-05-03T17:00:54.97+0530 [APP/0] OUT Running bin/release/CFConsoleApp.exe
2017-05-03T17:00:54.98+0530 [APP/0] OUT Exit status 2
2017-05-03T17:00:56.08+0530 [CELL/0] OUT Exit status -26
2017-05-03T17:01:19.65+0530 [API/0] OUT App instance exited with guid 32384a05-4605-4da5-bad1-1c7869993e68 payload: {"instance"=>"e2857e08-0fba-4ea7-51bc-0970012ecbb3", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"2 error(s) occurred:\n\n* Exited with status 2\n* cancelled", "crash_count"=>1, "crash_timestamp"=>1493811079631692499, "version"=>"a5833d94-0c6e-460c-bb45-08847bd161c1"}
2017-05-03T17:01:25.31+0530 [API/0] OUT App instance exited with guid 32384a05-4605-4da5-bad1-1c7869993e68 payload: {"instance"=>"f0b144ec-7495-451a-6a83-eede6f41e308", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"2 error(s) occurred:\n\n* Exited with status 2\n* cancelled", "crash_count"=>2, "crash_timestamp"=>1493811085286859655, "version"=>"a5833d94-0c6e-460c-bb45-08847bd161c1"}
2017-05-03T17:01:30.70+0530 [API/0] OUT App instance exited with guid 32384a05-4605-4da5-bad1-1c7869993e68 payload: {"instance"=>"66854251-772d-43ec-4674-4bb1ff0258e9", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"2 error(s) occurred:\n\n* Exited with status 2\n* cancelled", "crash_count"=>3, "crash_timestamp"=>1493811090693720364, "version"=>"a5833d94-0c6e-460c-bb45-08847bd161c1"}
2017-05-03T17:01:34.21+0530 [CELL/0] OUT Creating container
2017-05-03T17:01:36.40+0530 [CELL/0] OUT Successfully created container
2017-05-03T17:01:37.51+0530 [APP/0] OUT Running bin/release/CFConsoleApp.exe
2017-05-03T17:01:37.51+0530 [APP/0] OUT Exit status 2
2017-05-03T17:01:38.42+0530 [CELL/0] OUT Exit status -26
2017-05-03T17:02:13.05+0530 [API/0] OUT App instance exited with guid 32384a05-4605-4da5-bad1-1c7869993e68 payload: {"instance"=>"11b4429d-a17d-4ae8-62c5-9667e54fd61a", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"2 error(s) occurred:\n\n* Exited with status 2\n* cancelled", "crash_count"=>4, "crash_timestamp"=>1493811133037413883, "version"=>"a5833d94-0c6e-460c-bb45-08847bd161c1"}