chrisdutz opened a new issue, #2198:
URL: https://github.com/apache/plc4x/issues/2198

   ### What happened?
   
   It seems the tests of the test-generator cause errors when running with 
enabled "enable-all-checks" profile.
   ```
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
0.623 s <<< FAILURE! -- in 
org.apache.plc4x.test.generator.ParserSerializerTestsuiteGeneratorSpec
   [ERROR] 
org.apache.plc4x.test.generator.ParserSerializerTestsuiteGeneratorSpec.Test 
main with an example pcap -- Time elapsed: 0.617 s <<< ERROR!
   java.lang.UnsatisfiedLinkError: 
/Users/christoferdutz/Library/Caches/JNA/temp/jna9884374046297499532.tmp: 
dlopen(/Users/christoferdutz/Library/Caches/JNA/temp/jna9884374046297499532.tmp,
 0x0001): tried: 
'/Users/christoferdutz/Library/Caches/JNA/temp/jna9884374046297499532.tmp' (fat 
file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 
'arm64')), 
'/System/Volumes/Preboot/Cryptexes/OS/Users/christoferdutz/Library/Caches/JNA/temp/jna9884374046297499532.tmp'
 (no such file), 
'/Users/christoferdutz/Library/Caches/JNA/temp/jna9884374046297499532.tmp' (fat 
file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 
'arm64'))
        at 
java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)
        at 
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)
        at 
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2418)
        at java.base/java.lang.Runtime.load0(Runtime.java:852)
        at java.base/java.lang.System.load(System.java:2025)
        at 
com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1018)
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988)
        at com.sun.jna.Native.<clinit>(Native.java:195)
        at com.sun.jna.Structure.setAlignType(Structure.java:280)
        at com.sun.jna.Structure.<init>(Structure.java:197)
        at com.sun.jna.Structure.<init>(Structure.java:193)
        at com.sun.jna.Structure.<init>(Structure.java:180)
        at com.sun.jna.Structure.<init>(Structure.java:172)
        at 
org.pcap4j.core.NativeMappings$PcapErrbuf.<init>(NativeMappings.java:864)
        at org.pcap4j.core.Pcaps.openOffline(Pcaps.java:217)
        at 
org.apache.plc4x.test.generator.ParserSerializerTestsuiteGenerator.readPayloads(ParserSerializerTestsuiteGenerator.groovy:169)
        at 
org.apache.plc4x.test.generator.ParserSerializerTestsuiteGenerator.generateOutput(ParserSerializerTestsuiteGenerator.groovy:93)
        at 
org.apache.plc4x.test.generator.ParserSerializerTestsuiteGenerator.run(ParserSerializerTestsuiteGenerator.groovy:82)
        at 
groovyjarjarpicocli.CommandLine.executeUserObject(CommandLine.java:2045)
        at groovyjarjarpicocli.CommandLine.access$1500(CommandLine.java:148)
        at 
groovyjarjarpicocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
        at groovyjarjarpicocli.CommandLine$RunLast.handle(CommandLine.java:2461)
        at groovyjarjarpicocli.CommandLine$RunLast.handle(CommandLine.java:2423)
        at 
groovyjarjarpicocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
        at 
groovyjarjarpicocli.CommandLine$RunLast.execute(CommandLine.java:2425)
        at groovyjarjarpicocli.CommandLine.execute(CommandLine.java:2174)
        at 
org.apache.plc4x.test.generator.ParserSerializerTestsuiteGenerator.main(ParserSerializerTestsuiteGenerator.groovy:76)
        at 
org.apache.plc4x.test.generator.ParserSerializerTestsuiteGeneratorSpec.Test 
main with an example pcap(ParserSerializerTestsuiteGeneratorSpec.groovy:75)
   ```
   The test should follow the practice of other tests, to not fail the build in 
case of missing libraries.
   
   Disabling the test for now, as It's not mission critical, seems to be 
working in general and I don't want this to cause the release to get -1 votes.
   
   ### Version
   
   0.13.0-SNAPSHOT
   
   ### Programming Languages
   
   - [ ] plc4c
   - [ ] plc4go
   - [x] plc4j
   - [ ] plc4net
   - [ ] plc4py
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] C-Bus
   - [ ] CANopen
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] IEC-69870
   - [ ] KNXnet/IP
   - [ ] Modbus
   - [ ] OPC-UA
   - [ ] Profinet
   - [ ] S7
   - [ ] S7-light


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to