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

[DO NOT MERGE] Trigger tests #33

Closed
wants to merge 55 commits into from
Closed

Conversation

ashpect
Copy link
Contributor

@ashpect ashpect commented Aug 26, 2024

NOT FOR MERGING PURPOSES, triggering tests to document why some language fails and fix their bugs one by one.

@ashpect
Copy link
Contributor Author

ashpect commented Aug 26, 2024

We'll be documenting why other languages test fail and fixing them on the go.

  • typescript - npm fixed
    Details/Reason - install npm in base
metacall_builder_rootless  | ------
metacall_builder_rootless  |  > bash /usr/local/metacall/tools/metacall-environment.sh relwithdebinfo base backtrace swig typescript:
metacall_builder_rootless  | 34.63 + '[' 0 = 1 ']'
metacall_builder_rootless  | 34.63 + '[' 0 = 1 ']'
metacall_builder_rootless  | 34.63 + '[' 0 = 1 ']'
metacall_builder_rootless  | 34.63 + '[' 1 = 1 ']'
metacall_builder_rootless  | 34.63 + sub_typescript
metacall_builder_rootless  | 34.63 + echo 'configure typescript'
metacall_builder_rootless  | 34.63 + '[' Linux = Linux ']'
metacall_builder_rootless  | 34.63 + npm i react@latest -g
metacall_builder_rootless  | 34.63 configure typescript
metacall_builder_rootless  | 34.64 /usr/local/metacall/tools/metacall-environment.sh: line 543: npm: command not found
metacall_builder_rootless  | ------
metacall_builder_rootless  | error: failed to solve: process "bash /usr/local/metacall/tools/metacall-environment.sh relwithdebinfo base backtrace swig typescript" did not complete successfully: exit code: 127
Aborting on container exit...
  • [] typescript - test failed
    Details/Reason
metacall_builder_rootless  |  > bash /usr/local/metacall/tools/metacall-configure.sh relwithdebinfo tests scripts ports install typescript:
metacall_builder_rootless  | 8.705 -- Configuring done
metacall_builder_rootless  | 8.914 CMake Error at source/loaders/CMakeLists.txt:88 (add_dependencies):
metacall_builder_rootless  | 8.914   The dependency target "ts_loader" of target
metacall_builder_rootless  | 8.914   "metacall-load-memory-empty-test" does not exist.
metacall_builder_rootless  | 8.914 Call Stack (most recent call first):
metacall_builder_rootless  | 8.914   source/tests/metacall_load_memory_empty_test/CMakeLists.txt:125 (add_loader_dependencies)
metacall_builder_rootless  | 8.914 
metacall_builder_rootless  | 8.927 
metacall_builder_rootless  | 10.26 -- Generating done
metacall_builder_rootless  | 10.47 CMake Generate step failed.  Build files cannot be regenerated correctly.
metacall_builder_rootless  | ------
metacall_builder_rootless  | error: failed to solve: process "bash /usr/local/metacall/tools/metacall-configure.sh relwithdebinfo tests scripts ports install typescript" did not complete successfully: exit code: 1
Aborting on container exit...

@ashpect
Copy link
Contributor Author

ashpect commented Aug 26, 2024

  • [] c
metacall_builder_rootless  |  > bash /usr/local/metacall/tools/metacall-runtime.sh base backtrace ports clean c:
metacall_builder_rootless  | 7.495 Saving to: 'STDOUT'
metacall_builder_rootless  | 7.496 
metacall_builder_rootless  | 7.496      0K ...                                                   100% 51.7M=0s
metacall_builder_rootless  | 7.496 
metacall_builder_rootless  | 7.496 2024-08-26 23:04:25 (51.7 MB/s) - written to stdout [3145/3145]
metacall_builder_rootless  | 7.496 
metacall_builder_rootless  | 7.749 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
metacall_builder_rootless  | 7.983 gpg: error running '/usr/bin/gpg-agent': probably not installed
metacall_builder_rootless  | 7.983 gpg: failed to start agent '/usr/bin/gpg-agent': Configuration error
metacall_builder_rootless  | 7.983 gpg: can't connect to the agent: Configuration error
metacall_builder_rootless  | ------
metacall_builder_rootless  | error: failed to solve: process "bash /usr/local/metacall/tools/metacall-runtime.sh base backtrace ports clean c" did not complete successfully: exit code: 2
Aborting on container exit...

@ashpect
Copy link
Contributor Author

ashpect commented Aug 26, 2024

The failing reason for other languages can be checked with the above workflow for each language similarly

@ashpect ashpect mentioned this pull request Aug 27, 2024
6 tasks
@viferga
Copy link
Member

viferga commented Aug 27, 2024

Should I merge this, there's conflicts... and the CI is breaking.

@viferga viferga marked this pull request as draft August 27, 2024 22:18
@ashpect
Copy link
Contributor Author

ashpect commented Aug 27, 2024

NOT FOR MERGING PURPOSES, triggering tests to document why some language fails and fix their bugs one by one.

This is just for testing purposes, as written in description. Tests weren't getting triggered without opening a pr.
As you can see above, in gh actions tests for each lang were triggered.
c, go and rust are left . Cobol, ts, etc got completed.

@viferga viferga marked this pull request as ready for review August 27, 2024 22:21
@viferga
Copy link
Member

viferga commented Aug 27, 2024

Ok, cool sorry for that, I am removing the draft thing otherwise the CI won't work. Ping me if you have any problem with the CI.

@viferga viferga changed the title Trigger tests [DO NOT MERGE] Trigger tests Aug 27, 2024
@ashpect ashpect mentioned this pull request Oct 6, 2024
10 tasks
@ashpect
Copy link
Contributor Author

ashpect commented Oct 6, 2024

Closing PR, mentioned in issue #36 for reference.

@ashpect ashpect closed this Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants