EDL: possible fix for container restart #142962
pre-commit.yml
on: pull_request
pre-commit
/
pre-commit
6m 16s
Annotations
5 errors and 1 warning
|
pre-commit / pre-commit
Process completed with exit code 1.
|
|
pre-commit / pre-commit:
Packs/ApiModules/Scripts/NGINXApiModule/NGINXApiModule_test.py#L591
test_create_nginx_server_conf_renders_seconds_for_all_five_params
assert 'proxy_cache_lock_timeout 3600s;' in '\n\nlog_format edl_detailed\n \'when_finished=$time_iso8601 request_id=$request_id \'\n \'connection_id=$connection requests_on_connection=$connection_requests \'\n \'client_real_ip="$http_x_real_ip" client_forwarded_chain="$http_x_forwarded_for" \'\n \'client_nearest_peer=$remote_addr client_user_agent="$http_user_agent" \'\n \'request_method=$request_method request_uri="$request_uri" request_host="$host" \'\n \'request_range="$http_range" request_if_none_match="$http_if_none_match" \'\n \'request_if_modified_since="$http_if_modified_since" \'\n \'response_status=$status cache_status=$upstream_cache_status upstream_address="$upstream_addr" \'\n \'response_etag="$sent_http_etag" \'\n \'response_body_bytes=$body_bytes_sent response_total_bytes=$bytes_sent \'\n \'edl_indicator_count="$sent_http_x_edl_size" edl_origin_count="$sent_http_x_edl_origin_size" \'\n \'time_total_secs=$request_time time_to_upstream_connect_secs="$upstream_connect_time" \'\n \'time_upstream_headers_secs="$upstream_header_time" time_upstream_response_secs="$upstream_response_time" \'\n \'time_edl_query_secs="$sent_http_x_edl_query_time_secs"\';\n\n\n# Per-URI concurr...ents.\nserver {\n listen localhost:12347;\n\n access_log /var/log/nginx/access.log edl_detailed;\n error_log /var/log/nginx/error.log info;\n\n location / {\n limit_conn concurrent_conn_zone 1;\n limit_conn_status 429;\n\n # Tier 2 must NOT cache: caching is owned entirely by Tier 1 (the public\n # server). If proxy_cache is inherited from the http{} block, disable it\n # here so this tier is purely the rate-limited cold-MISS fetch path.\n proxy_cache off;\n\n proxy_pass http://localhost:12346/;\n\n # Preserve the forwarded client identity headers set by Tier 1.\n proxy_set_header Host $host;\n proxy_set_header X-Real-IP $http_x_real_ip;\n proxy_set_header X-Forwarded-For $http_x_forwarded_for;\n proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;\n proxy_set_header X-Original-URI $http_x_original_uri;\n proxy_set_header X-Request-ID $http_x_request_id;\n proxy_set_header X-Request-Start $http_x_request_start;\n\n proxy_read_timeout 3600s;\n proxy_connect_timeout 3600;\n proxy_send_timeout 3600;\n send_timeout 3600;\n }\n}\n\n'
|
|
pre-commit / pre-commit:
Packs/ApiModules/Scripts/NGINXApiModule/NGINXApiModule_test.py#L308
test_nginx_log_process
ValueError: Failed testing nginx conf. Return code: 1. Output: nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nginx: the configuration file /tmp/pytest-of-unknown/pytest-0/test_nginx_log_process0/nginx-test-main.conf syntax is ok
2026/07/08 11:45:36 [emerg] 13#13: open() "/var/log/nginx/access.log" failed (13: Permission denied)
nginx: configuration file /tmp/pytest-of-unknown/pytest-0/test_nginx_log_process0/nginx-test-main.conf test failed
|
|
pre-commit / pre-commit:
Packs/ApiModules/Scripts/NGINXApiModule/NGINXApiModule_test.py#L292
test_nginx_test_start_valid[params1]
ValueError: Failed testing nginx conf. Return code: 1. Output: nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nginx: the configuration file /tmp/pytest-of-unknown/pytest-0/test_nginx_test_start_valid_pa1/nginx-test-main.conf syntax is ok
2026/07/08 11:45:36 [emerg] 12#12: open() "/var/log/nginx/access.log" failed (13: Permission denied)
nginx: configuration file /tmp/pytest-of-unknown/pytest-0/test_nginx_test_start_valid_pa1/nginx-test-main.conf test failed
|
|
pre-commit / pre-commit:
Packs/ApiModules/Scripts/NGINXApiModule/NGINXApiModule_test.py#L292
test_nginx_test_start_valid[params0]
ValueError: Failed testing nginx conf. Return code: 1. Output: nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
nginx: the configuration file /tmp/pytest-of-unknown/pytest-0/test_nginx_test_start_valid_pa0/nginx-test-main.conf syntax is ok
2026/07/08 11:45:36 [emerg] 11#11: open() "/var/log/nginx/access.log" failed (13: Permission denied)
nginx: configuration file /tmp/pytest-of-unknown/pytest-0/test_nginx_test_start_valid_pa0/nginx-test-main.conf test failed
|
|
pre-commit / pre-commit
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache/save@v3, actions/cache@v3, actions/checkout@v4, actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea, actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace, actions/setup-python@v5, andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b, Gr1N/setup-poetry@48b0f77c8c1b1b19cb962f0f00dff7b4be8f81ec. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
pytest
|
6.5 KB |
sha256:1ea5a033b42d5d871952721b6ae67d5ea9f585535ce1c194fff3083ef95f81d7
|
|