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

test: synchronizing gherkin spec #2186

Closed
wants to merge 2 commits into from

Conversation

apmmachine
Copy link
Contributor

What

APM agent specs automatic sync

Why

Changeset

@apmmachine apmmachine added the automation Tests & automation that help build & maintain the project label Oct 12, 2021
@apmmachine
Copy link
Contributor Author

apmmachine commented Oct 12, 2021

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-10-18T07:39:22.836+0000

  • Duration: 20 min 8 sec

  • Commit: 3f266eb

Test stats 🧪

Test Results
Failed 3
Passed 767
Skipped 0
Total 770

Test errors 3

Expand to view the tests failures

Default user-agent – specs.RunCucumberTest
    Expand to view the error details

     The step "service name is not set" is undefined. You can implement it using the snippet(s) below:
    
    @When("service name is not set")
    public void service_name_is_not_set() {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    
    Some other steps were also undefined:
    
    @When("service version is not set")
    public void service_version_is_not_set() {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    @Then("the User-Agent header matches regex {string}")
    public void the_User_Agent_header_matches_regex(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
     
    

    Expand to view the stacktrace

     io.cucumber.junit.UndefinedStepException: 
    The step "service name is not set" is undefined. You can implement it using the snippet(s) below:
    
    @When("service name is not set")
    public void service_name_is_not_set() {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    
    Some other steps were also undefined:
    
    @When("service version is not set")
    public void service_version_is_not_set() {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    @Then("the User-Agent header matches regex {string}")
    public void the_User_Agent_header_matches_regex(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    
     
    

User-agent with service name only – specs.RunCucumberTest
    Expand to view the error details

     The step "service name is set to 'myService'" is undefined. You can implement it using the snippet(s) below:
    
    @When("service name is set to {string}")
    public void service_name_is_set_to(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    
    Some other steps were also undefined:
    
    @When("service version is not set")
    public void service_version_is_not_set() {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    @Then("the User-Agent header matches regex {string}")
    public void the_User_Agent_header_matches_regex(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
     
    

    Expand to view the stacktrace

     io.cucumber.junit.UndefinedStepException: 
    The step "service name is set to 'myService'" is undefined. You can implement it using the snippet(s) below:
    
    @When("service name is set to {string}")
    public void service_name_is_set_to(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    
    Some other steps were also undefined:
    
    @When("service version is not set")
    public void service_version_is_not_set() {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    @Then("the User-Agent header matches regex {string}")
    public void the_User_Agent_header_matches_regex(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    
     
    

User-agent with service name and service version – specs.RunCucumberTest
    Expand to view the error details

     The step "service name is set to 'myService'" is undefined. You can implement it using the snippet(s) below:
    
    @When("service name is set to {string}")
    public void service_name_is_set_to(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    
    Some other steps were also undefined:
    
    @When("service version is set to {string}")
    public void service_version_is_set_to(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    @Then("the User-Agent header matches regex {string}")
    public void the_User_Agent_header_matches_regex(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
     
    

    Expand to view the stacktrace

     io.cucumber.junit.UndefinedStepException: 
    The step "service name is set to 'myService'" is undefined. You can implement it using the snippet(s) below:
    
    @When("service name is set to {string}")
    public void service_name_is_set_to(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    
    Some other steps were also undefined:
    
    @When("service version is set to {string}")
    public void service_version_is_set_to(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    @Then("the User-Agent header matches regex {string}")
    public void the_User_Agent_header_matches_regex(String string) {
        // Write code here that turns the phrase above into concrete actions
        throw new io.cucumber.java.PendingException();
    }
    
     
    

Steps errors 1

Expand to view the steps failures

Shell Script
  • Took 2 min 23 sec . View more details here
  • Description: #!/bin/bash set -euxo pipefail ./mvnw test

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run benchmark tests : Run the benchmark test.

  • run compatibility tests : Run the JDK Compatibility test.

  • run integration tests : Run the APM-ITs.

@SylvainJuge
Copy link
Member

Should be covered by #2177

@SylvainJuge SylvainJuge deleted the update-spec-files-20211012142324 branch October 19, 2021 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-java automation Tests & automation that help build & maintain the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants