Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (on)  | Unanswered Messages (off)

Forum: Eclipse Titan
 Topic: Eclipse gitlab rate limiting breaking CI jobs using TITAN repos
Eclipse gitlab rate limiting breaking CI jobs using TITAN repos [message #1871310] Fri, 20 September 2024 06:41
Harald Welte is currently offline Harald WelteFriend
Messages: 148
Registered: July 2017
Location: Berlin, Germany
Senior Member

FYI, I wanted to share here that in Osmocom (where we're heavy users of many of the TITAN TestPorts + ProtocolModules) we are now running increasingly into gitlab.eclipse.org rate limiting.
This was not observed back in the day while titan was still using github + old git.eclipse.org.

I've posted a report at https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5032 - let's see what the respective admins say.

In the "worst case" we will have to create + maintain local mirrors of all those repositories and then use those local mirrors instead of the gitlab.eclipse.org ones.

I'm just a bit surprised, given how small we as Osmocom are as a project... It's not like we're running millions of CI jobs a day.

No action/response is expected here, I just wanted to share this, in case somebody else has experience with it (or will run into it in the future).
 Topic: Cannot bind port (Address already in use)
Re: Cannot bind port (Address already in use) [message #1871313 is a reply to message #1871034] Fri, 20 September 2024 06:44
Harald Welte is currently offline Harald WelteFriend
Messages: 148
Registered: July 2017
Location: Berlin, Germany
Senior Member

What you are seeing is not TTCN-3 related, but a standard POSIX/UNIX/Linux socket API error message: The port/address you're trying to bind to is already used by some other socket / process.

Try something like "netstat -uan" or "ss" or "lsof -iUDP" to check which ports are used [and by whom, in case of lsof]
Forum: Newcomers
 Topic: Problems creating JAR
Problems creating JAR [message #1871322] Fri, 20 September 2024 13:41
Leo Santos is currently offline Leo SantosFriend
Messages: 1
Registered: September 2024
Junior Member
I'm having trouble creating the JAR in my Eclipse. I switched from Windows to Mac, and now this error message is popping up.

"Class files on class path not found or not accessible for"

Does anyone know a way to fix this error?
 Topic: Cannot find file
Re: Cannot find file [message #1871325 is a reply to message #1871256] Fri, 20 September 2024 15:45
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4490
Registered: July 2009
Senior Member

It sounds like the file doesn't exist, period. Is that true?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Forum: Papyrus
 Topic: Papyrus for Manufacturing (P4M)
Re: Papyrus for Manufacturing (P4M) [message #1871328 is a reply to message #1871283] Fri, 20 September 2024 16:11
Quang-Duy NGUYEN is currently offline Quang-Duy NGUYENFriend
Messages: 2
Registered: July 2024
Junior Member
- Short Answer:
Here are the POST body works for me:

Body for POST with no arguments:
{ 
    "requestId": "{{$timestamp}},
    "inputArguments": [],
    "outputArguments": [],
    "timeout": 5000 
}


Body for POST with n arguments:
{ 
    "requestId": "{{$timestamp}},
    "inputArguments": [
        {
            "modelType": {
                "name": "OperationVariable"
            },
            "value": {
                "idShort": <ARGUMENT_1_ID> 
                "modelType": {
                    "name": "Property"
                },
                "kind": "Template",
                "valueType": <ARGUMENT_1_TYPE>,  // lower case e.g. string, double, boolean, integer
                "value": <VALUE>
            },
        }, 
        // ... (n-1) arguments same to the above>
    ],
    "outputArguments": [],
    "timeout": 5000 
}


- Long Answer:

There are two problems in the body of your JSON:
- First: the "valueType" seems to work only with lower case. For example, "string" will work but "String" will not.
- Second: there is another problem with Integer. Note that this problem does not happen with Boolean, String or Double. In fact, if you want to work with Integer (the JSON body has the "valueType" with value "integer"), then you must do some trick in the Java code generated by P4M: In detail, you must change generated Integer into BigInteger.

All the above statements I put it in a HelloWorld example. You can find the code here:
https://github.com/nqduy35/P4MPostHelloWorld
In the repo, there are three folders:
1- P4M Model design
2- Java code generated by P4M to run the AAS server
3- Four postman commands equivalent to four operation tests with no arguments, string, double and integer.



Current Time: Fri Sep 20 16:44:00 GMT 2024

Powered by FUDForum. Page generated in 0.04254 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top