Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

504 error? #21

Open
acherm opened this issue May 5, 2021 · 0 comments
Open

504 error? #21

acherm opened this issue May 5, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@acherm
Copy link
Collaborator

acherm commented May 5, 2021

I've got 504 error code message since yesterday night (around 11PM I would say)
Maybe a simple fix is to restart the nginx (?) / server... but how to?

here is the JSON:
https://gist.github.com/acherm/4e11d398666e018b9c523a01a265aba5

note that I have experimented by including several new fields, but everything was fine until now...
at some point, however, I played a bit with gcc_version and I sent values like None or -1, which might have caused some issues

python3 kernel_generator.py --compiler gcc8 --dev 1 --linux_version 5.8 --tiny --json "build.json" --local --mount_host_dev --checksize --tagbuild "test tiny 32bit" --preset compilation/x64.config --json "build.json" --checksize
--dev | You are using the development version, whose can be unstable.
--local | You are using the local version, which means that you could be out to date, or you could crash if you don't have the image.
--tiny | You are using tiny configuration.
--json | You will save the build information locally into a JSON file.
--mount_host_dev | You will use your local code instead of the one contained in docker image. Usefull for development only.
--preset | You are using a specific set of options' values (preset= compilation/x64.config )
--tagbuild | You are tagging build(s)
Specific image for linux v5.8 already exist. Nothing to do.

=============== Docker number  0  ===============
Docker command  docker exec -t 099876a07ed71430a86926692959c58ffcbb0fe052d25befbf3b2379f6cf9644 /bin/bash -c '/TuxML/compilation/main.py 0 --tiny    --check_size --json --tagbuild "test tiny 32bit"  | ts -s'
00:00:00 [2021-05-05 10:11:30 CEST] [update_system] Updating packages repositories.
00:00:03 [2021-05-05 10:11:33 CEST] [update_system] Packages repositories updated and packages upgraded.
00:00:03 [2021-05-05 10:11:33 CEST] [retrieve_and_display_environment] Getting environment details.
00:00:03     ==> hardware
00:00:03       --> cpu_brand_name: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
00:00:03       --> cpu_max_frequency: 4900.0
00:00:03       --> ram_size: 16083504
00:00:03       --> architecture: x86_64
00:00:03       --> number_cpu_core: 8
00:00:03       --> mechanical_disk: False
00:00:03     ==> software
00:00:03       --> tuxml_version: v3.0
00:00:03       --> libc_version: 2.28-10
00:00:03       --> gcc_version: 8.3.0-6
00:00:03       --> clang_version: -1
00:00:03       --> compiler_version: gcc (Debian 8.3.0-6) 8.3.0
00:00:03       --> system_kernel: Linux
00:00:03       --> linux_distribution: Debian GNU/Linux
00:00:03       --> linux_distribution_version: 10
00:00:03       --> system_kernel_version: 5.3.7-301.fc31.x86_64
00:00:03 [2021-05-05 10:11:33 CEST] [retrieve_and_display_configuration] Getting configuration details.
00:00:03     --> core_used: 8
00:00:03     --> incremental_mod: False
00:00:03     --> kernel_version_compilation: 5.8
00:00:03     --> kernel_path: /TuxML/linux-5.8
00:00:03 [2021-05-05 10:11:33 CEST] [__linux_config_generator] Tiny config with preset values:
00:00:03 CONFIG_64BIT=y
00:00:06 [2021-05-05 10:11:36 CEST] [__compile] Compilation in progress
00:00:34 [2021-05-05 10:12:04 CEST] [__compile] Compilation successful.
00:00:34 [2021-05-05 10:12:04 CEST] [__do_a_compilation] Successfully compiled in 00:00:27 (installation_time = 00:00:00)
00:00:34 [2021-05-05 10:12:04 CEST] [__get_compressed_kernel_size] Computing compressed kernel size.
00:00:58 [2021-05-05 10:12:28 CEST] [__get_compressed_kernel_size] Successfully retrieve compressed kernel size.
00:02:02 [2021-05-05 10:13:32 CEST] [run] Error received from TuxML API when sending compilation.
00:02:02 [2021-05-05 10:13:32 CEST] [run] Status code : 504
00:02:02 [2021-05-05 10:13:32 CEST] [run] Error message : <html>
00:02:02 <head><title>504 Gateway Time-out</title></head>
00:02:02 <body bgcolor="white">
00:02:02 <center><h1>504 Gateway Time-out</h1></center>
00:02:02 <hr><center>nginx/1.14.2</center>
00:02:02 </body>
00:02:02 </html>
00:02:02 
Creating JSON file locally: build.json
JSON successfully retrieved!

You sent 1 compilations data to the TuxML API.
Total number of container used : 1
Number of compilations in a container : 1 ( 1 basic compilation + 0 incremental compilations).
Total number of compilations : 1

@acherm acherm added the bug Something isn't working label May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant