Having the same issue.
Have retried on a new web app instance with the same errors.
I want to avoid creating a new repository if all possible as i don't think that gets to the root of the problem. This webapp has not been updated for 50 days and i have mad minor code changes and on deployment changes (using kudu deployments directly from azure)
No files are copied to Siteroot, i cannot find the tmp directory for deployment Nor the 'build-debug.log'
Command: oryx build /home/site/repository -o /home/site/wwwroot --platform python --platform-version 3.7 -i /tmp/8d87ee46fcfd858 -p compress_virtualenv=tar-gz -p virtualenv_name=antenv --log-file /tmp/build-debug.log
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues
Oryx Version: 0.2.20200917.1, Commit: 59deb778658a124cb74ea8e2c8f39fa87abcc9d9, ReleaseTagName: 20200917.1
Build Operation ID: |S6nbrLzUJF0=.f9dd240d_
Repository Commit : 0ee5b8316a5ad6fd2a6982b6e7b24475d3c3fe83
Detecting platforms...
Detected following platforms:
python: 3.7.9
Using intermediate directory '/tmp/8d87ee46fcfd858'.
Copying files to the intermediate directory...
Done in 1 sec(s).
Source directory : /tmp/8d87ee46fcfd858
Destination directory: /home/site/wwwroot
/tmp/BuildScriptGenerator/c9ada941d4c0461d909d92f3b0945cad/build.sh: line 97: source: filename argument required
source: usage: source filename [arguments]
/tmp/BuildScriptGenerator/c9ada941d4c0461d909d92f3b0945cad/build.sh: line 97: source: filename argument required\nsource: usage: source filename [arguments]\n/opt/Kudu/Scripts/starter.sh oryx build /home/site/repository -o /home/site/wwwroot --platform python --platform-version 3.7 -i /tmp/8d87ee46fcfd858 -p compress_virtualenv=tar-gz -p virtualenv_name=antenv --log-file /tmp/build-debug.log
More details logs here with Timestamps, shows it happens in a matter of 10 seconds. Like it cannot find the source.
[
{
log_time: "2020-11-02T04:04:46.8123103Z",
id: "",
message: "Command: oryx build /home/site/repository -o /home/site/wwwroot --platform python --platform-version 3.7 -i /tmp/8d87ee46fcfd858 -p compress_virtualenv=tar-gz -p virtualenv_name=antenv --log-file /tmp/build-debug.log ",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:50.5935987Z",
id: "",
message: "Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:50.621232Z",
id: "",
message: "You can report issues at https://github.com/Microsoft/Oryx/issues",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:50.630477Z",
id: "",
message: "",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:50.6427038Z",
id: "",
message: "Oryx Version: 0.2.20200917.1, Commit: 59deb778658a124cb74ea8e2c8f39fa87abcc9d9, ReleaseTagName: 20200917.1",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:50.6478351Z",
id: "",
message: "",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:50.6578282Z",
id: "",
message: "Build Operation ID: |S6nbrLzUJF0=.f9dd240d_",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:50.6679445Z",
id: "",
message: "Repository Commit : 0ee5b8316a5ad6fd2a6982b6e7b24475d3c3fe83",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:50.6881335Z",
id: "",
message: "",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:50.707785Z",
id: "",
message: "Detecting platforms...",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:51.75804Z",
id: "",
message: "Detected following platforms:",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:51.7791379Z",
id: "",
message: " python: 3.7.9",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:52.1736572Z",
id: "",
message: "",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:52.2605519Z",
id: "",
message: "Using intermediate directory '/tmp/8d87ee46fcfd858'.",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:53.2392082Z",
id: "",
message: "",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:53.2449848Z",
id: "",
message: "Copying files to the intermediate directory...",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:53.2490464Z",
id: "",
message: "Done in 1 sec(s).",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:53.2529299Z",
id: "",
message: "",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:53.2570392Z",
id: "",
message: "Source directory : /tmp/8d87ee46fcfd858",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:53.2673598Z",
id: "",
message: "Destination directory: /home/site/wwwroot",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:53.2768312Z",
id: "",
message: "",
type: 0,
details_url: null
},
{
log_time: "2020-11-02T04:04:53.5940515Z",
id: "",
message: "/tmp/BuildScriptGenerator/c9ada941d4c0461d909d92f3b0945cad/build.sh: line 97: source: filename argument required",
type: 1,
details_url: null
},
{
log_time: "2020-11-02T04:04:53.604972Z",
id: "",
message: "source: usage: source filename [arguments]",
type: 1,
details_url: null
},
{
log_time: "2020-11-02T04:04:57.0769617Z",
id: "",
message: "/tmp/BuildScriptGenerator/c9ada941d4c0461d909d92f3b0945cad/build.sh: line 97: source: filename argument required\nsource: usage: source filename [arguments]\n/opt/Kudu/Scripts/starter.sh oryx build /home/site/repository -o /home/site/wwwroot --platform python --platform-version 3.7 -i /tmp/8d87ee46fcfd858 -p compress_virtualenv=tar-gz -p virtualenv_name=antenv --log-file /tmp/build-debug.log ",
type: 2,
details_url: null
}
]