Skip to content

[BUG] book-server analysis results from API and UI do not match the output.yaml file generated by CLI #936

@mguetta1

Description

@mguetta1

Is there an existing issue for this?

  • I have searched the existing issues

Konveyor version

API and UI tests ran against Konveyor latest

Priority

Critical

Current Behavior

For the following analysis configuration, the analysis results are inconsistent between the UI and API, and do not match the output.yaml file generated by the CLI

book-server_source:
  description: book-store source only analysis
  application:
    name: book-server
    repository:
      url: https://github.com/migtools/book-server
      kind: git
      branch: v0.0.1
  filename: book-server
  sources:
  - java-ee
  - springboot
  targets:
  - cloud-readiness
  - linux
  - quarkus
  withDeps: false

Analysis results in CLI run - https://github.com/konveyor/ci/blob/main/shared_tests/book-server_source/output.yaml:
Effort: 15
Rules:
local-storage-00001
javaee-pom-to-quarkus-00010
javaee-pom-to-quarkus-00020
javaee-pom-to-quarkus-00030
javaee-pom-to-quarkus-00040
javaee-pom-to-quarkus-00050
javaee-pom-to-quarkus-00060
springboot-annotations-to-quarkus-00000
springboot-plugins-to-quarkus-0000
springboot-di-to-quarkus-00000
springboot-properties-to-quarkus-00000
springboot-web-to-quarkus-00000

Results in API run:
Effort: 12
Rules:
local-storage-00001
javaee-pom-to-quarkus-00010
javaee-pom-to-quarkus-00020
javaee-pom-to-quarkus-00030
javaee-pom-to-quarkus-00040
javaee-pom-to-quarkus-00050
javaee-pom-to-quarkus-00060
springboot-annotations-to-quarkus-00000
springboot-plugins-to-quarkus-0000

Results in UI run:
Effort: 10
Rules:
local-storage-00001
javaee-pom-to-quarkus-00010
javaee-pom-to-quarkus-00020
javaee-pom-to-quarkus-00030
javaee-pom-to-quarkus-00040
javaee-pom-to-quarkus-00050
javaee-pom-to-quarkus-00060

Expected Behavior

No response

How Reproducible

Always (Default)

Steps To Reproduce

No response

Environment

- **Analyzer Image SHA** 
- **JDTLS  base image SHA**
- **Provider Settings JSON**

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.needs-priorityIndicates an issue or PR lacks a `priority/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions