apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.56k stars 1.17k forks source link

upgrade akka libs #5491

Closed pjfanning closed 1 month ago

pjfanning commented 6 months ago

Description

Related issue and scope

My changes affect the following components

Types of changes

Checklist:

pjfanning commented 6 months ago
Error:  /home/runner/work/openwhisk/openwhisk/common/scala/src/main/scala/org/apache/openwhisk/core/containerpool/logging/DockerToActivationFileLogStore.scala:177: method create in trait GraphApply is deprecated (since 3.6.26): Use createGraph instead
Error:  /home/runner/work/openwhisk/openwhisk/common/scala/src/main/scala/org/apache/openwhisk/core/containerpool/logging/SplunkLogStore.scala:183: method dropNew in object OverflowStrategy is deprecated (since 2.6.11): Use Source.queue instead
Error:  /home/runner/work/openwhisk/openwhisk/common/scala/src/main/scala/org/apache/openwhisk/core/database/Batcher.scala:67: method dropNew in object OverflowStrategy is deprecated (since 2.6.11): Use Source.queue instead
Error:  /home/runner/work/openwhisk/openwhisk/common/scala/src/main/scala/org/apache/openwhisk/core/database/StoreUtils.scala:87: method create in trait GraphApply is deprecated (since 4.6.36): Use createGraph instead
pjfanning commented 2 months ago

Broken test:

org.apache.openwhisk.common.etcd.EtcdLeaderShipUnitTests > Etcd LeaderShip client should be failed to elect leader with provided lease STANDARD_ERROR
    Sep 21, 2024 6:10:15 PM io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference cleanQueue
    SEVERE: *~*~*~ Channel ManagedChannelImpl{logId=7, target=etcd} was not shutdown properly!!! ~*~*~*
        Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.
    java.lang.RuntimeException: ManagedChannel allocation site
        at io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.<init>(ManagedChannelOrphanWrapper.java:93)
        at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:53)
        at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:44)
        at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:517)
        at com.ibm.etcd.client.EtcdClient.<init>(EtcdClient.java:284)
        at com.ibm.etcd.client.EtcdClient$Builder.build(EtcdClient.java:215)
        at org.apache.openwhisk.common.etcd.EtcdLeaderShipUnitTests$MockEtcdLeadershipApi.<init>(EtcdLeaderShipUnitTests.scala:68)
        at org.apache.openwhisk.common.etcd.EtcdLeaderShipUnitTests$$anon$2.<init>(EtcdLeaderShipUnitTests.scala:134)
        at org.apache.openwhisk.common.etcd.EtcdLeaderShipUnitTests.$anonfun$new$2(EtcdLeaderShipUnitTests.scala:134)
style95 commented 1 month ago

@pjfanning Do you have any updates on this? Was this blocked because of the EtcdLeaderShipUnitTests?

pjfanning commented 1 month ago

I'll close this. I don't have time to work on this.