Jeeppler
Jeeppler
I see the same pattern with a 64 GB machine. Is there are way to profile/investigate it?
I was able to confirm: [`pool.py#L52`](https://github.com/nexB/scancode-toolkit/blob/develop/src/scancode/pool.py#L52) is the problem. We overwrote it with a fixed value: https://github.com/mercedes-benz/sechub/blob/develop/sechub-pds-solutions/scancode/docker/Scancode-Debian.dockerfile#L52. Now, it does work for us. I am not sure what the issue...
@pombredanne I am happy to submit a patch/PR and fix this issue. However, my current solution is to overwrite `pool.py` with brute force. I would have to look at the...
@nnobelis we install the Scancode using `pip` as well, but later overwrite the `pool.py` in the container: - Dockerfile: https://github.com/mercedes-benz/sechub/blob/9bec3e053a9ba5498c2ed81799bf6c3f398fb680/sechub-pds-solutions/scancode/docker/Scancode-Debian.dockerfile#L52 - Modified `pool.py`: https://github.com/mercedes-benz/sechub/blob/9bec3e053a9ba5498c2ed81799bf6c3f398fb680/sechub-pds-solutions/scancode/docker/pool.py
Your setup is correct.
We discussed the topic today internally in our team. The best option is to log parts of the `job_stream_error` and `job_stream_output` if the PDS job fails is in the PDS....
Yes, that cannot work. The [job_stream_output](https://mercedes-benz.github.io/sechub/latest/sechub-product-delegation-server.html#section-usecase-PDS_UC_011) and [job_stream_error](https://mercedes-benz.github.io/sechub/latest/sechub-product-delegation-server.html#section-usecase-PDS_UC_012) API endpoints are only available for the PDS. And only for the PDS admin user. You can use the `pds-api.sh` script to...
Your setup is correct, the messages are exactly what I would expect.
1. If you set a break point in line number 104 in `PDSExecutionCallable.call()`: `LOG.info("Prepare execution of PDS job {}", pdsJobUUID);`. Does your debugger stops there? 2. What is the job...
With the first, we checked whether your debugger settings are working. Result: the debugger works well. With number two, we checked whether the job really failed and it did. The...