Skip to content

Modify API license #332

Modify API license

Modify API license #332

Triggered via pull request July 30, 2024 07:28
Status Cancelled
Total duration 16m 8s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
36s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
Puppet / 8 (Ruby 3.2): spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L40
Puppet::Type::Elasticsearch_license::ProviderXpack xpack/licenses returns xpack/licenses Failure/Error: http.request req WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://localhost:9200/_license with headers {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'} You can stub this request with the following snippet: stub_request(:get, "http://localhost:9200/_license"). with( headers: { 'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby' }). to_return(status: 200, body: "", headers: {}) registered request stubs: stub_request(:get, "http://localhost:9200/_xpack/license"). with( headers: { 'Accept'=>'application/json' }) ============================================================ Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:62
Puppet / 8 (Ruby 3.2): spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L55
Puppet::Type::Elasticsearch_license::ProviderXpack basic authentication authenticates Failure/Error: http.request req WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://localhost:9200/_license with headers {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic ZWxhc3RpYzpwYXNzd29yZA==', 'User-Agent'=>'Ruby'} You can stub this request with the following snippet: stub_request(:get, "http://localhost:9200/_license"). with( headers: { 'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic ZWxhc3RpYzpwYXNzd29yZA==', 'User-Agent'=>'Ruby' }). to_return(status: 200, body: "", headers: {}) registered request stubs: stub_request(:get, "http://localhost:9200/_xpack/license"). with( headers: { 'Accept'=>'application/json', 'Authorization'=>'Basic ZWxhc3RpYzpwYXNzd29yZA==' }) ============================================================ Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:62
Puppet / 8 (Ruby 3.2): spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L77
Puppet::Type::Elasticsearch_license::ProviderXpack https uses ssl Failure/Error: http.request req WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET https://localhost:9200/_license with headers {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'} You can stub this request with the following snippet: stub_request(:get, "https://localhost:9200/_license"). with( headers: { 'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby' }). to_return(status: 200, body: "", headers: {}) registered request stubs: stub_request(:get, "https://localhost:9200/_xpack/license"). with( headers: { 'Accept'=>'application/json' }) ============================================================ Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:62
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L40
Puppet::Type::Elasticsearch_license::ProviderXpack xpack/licenses returns xpack/licenses Failure/Error: http.request req WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://localhost:9200/_license with headers {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'} You can stub this request with the following snippet: stub_request(:get, "http://localhost:9200/_license"). with( headers: { 'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby' }). to_return(status: 200, body: "", headers: {}) registered request stubs: stub_request(:get, "http://localhost:9200/_xpack/license"). with( headers: { 'Accept'=>'application/json' }) ============================================================ Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:62
Puppet / 7 (Ruby 2.7): spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L55
Puppet::Type::Elasticsearch_license::ProviderXpack basic authentication authenticates Failure/Error: http.request req WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://localhost:9200/_license with headers {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic ZWxhc3RpYzpwYXNzd29yZA==', 'User-Agent'=>'Ruby'} You can stub this request with the following snippet: stub_request(:get, "http://localhost:9200/_license"). with( headers: { 'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic ZWxhc3RpYzpwYXNzd29yZA==', 'User-Agent'=>'Ruby' }). to_return(status: 200, body: "", headers: {}) registered request stubs: stub_request(:get, "http://localhost:9200/_xpack/license"). with( headers: { 'Accept'=>'application/json', 'Authorization'=>'Basic ZWxhc3RpYzpwYXNzd29yZA==' }) ============================================================ Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:62
Puppet / 7 (Ruby 2.7): spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L77
Puppet::Type::Elasticsearch_license::ProviderXpack https uses ssl Failure/Error: http.request req WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET https://localhost:9200/_license with headers {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'} You can stub this request with the following snippet: stub_request(:get, "https://localhost:9200/_license"). with( headers: { 'Accept'=>'application/json', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby' }). to_return(status: 200, body: "", headers: {}) registered request stubs: stub_request(:get, "https://localhost:9200/_xpack/license"). with( headers: { 'Accept'=>'application/json' }) ============================================================ Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:62
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
Puppet / Puppet 8 - OracleLinux 8
Canceling since a higher priority waiting request for '1230/merge' exists
Puppet / Puppet 8 - Ubuntu 20.04
Canceling since a higher priority waiting request for '1230/merge' exists
Puppet / Puppet 8 - Ubuntu 20.04
The operation was canceled.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system RedHat 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 8