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

[Bug]: Obersverbility warning in windows with bal test command #42211

Closed
anupama-pathirage opened this issue Feb 21, 2024 · 7 comments
Closed

Comments

@anupama-pathirage
Copy link
Contributor

anupama-pathirage commented Feb 21, 2024

Description

When using the bal test command, you can see the following warning in windows. Bal run and build commands are working fine.

Compiling source
        dumin/hello_world:0.1.0
        warning: Failed to add Observability information to Jar due to: C:\anupama\ballerinatest\hello_world\target\cache\dumin\hello_world\0.1.0\observe\dumin-hello_world-observability-symbols.jar: The process cannot access the file because it is being used by another process

Running Tests

        hello_world


                1 passing
                0 failing
                0 skipped

Steps to Reproduce

Try the steps in https://ballerina.io/learn/test-ballerina-code/test-a-simple-function/

Then issue the bal test command

Affected Version(s)

Windows 11

Ballerina 2201.8.4 (Swan Lake Update 8)
Language specification 2023R1
Update Tool 1.4.2

OS, DB, other environment details and versions

No response

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@azinneera
Copy link
Contributor

The jar will be removed with #42002. So the issue will go away after the fix.

@NipunaMadhushan
Copy link
Contributor

The jar has been removed with #42002. This will be included with Update 9 release.

@anupama-pathirage
Copy link
Contributor Author

@azinneera / @NipunaMadhushan What is the possiblity of adding this to next patch release?

@NipunaMadhushan
Copy link
Contributor

@anupama-pathirage Since we have removed generating a jar, In my opinion, it's best to go with a new update release (Update 9). I will check with @warunalakshitha and @keizer619 whether we can remove this from 2201.8.x as well.

@NipunaMadhushan
Copy link
Contributor

@anupama-pathirage I will send the PR to remove generating symbols.jar in 2201.8.x. It will be included in the 2201.8.6 release.

@NipunaMadhushan
Copy link
Contributor

Fixed with #42252

Copy link

github-actions bot commented Mar 1, 2024

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

@NipunaMadhushan NipunaMadhushan added this to the 2201.8.6 milestone Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

5 participants