Skip to content

Instantly share code, notes, and snippets.

View AnushaPulichintha's full-sized avatar

AnushaPulichintha

  • Singapore
View GitHub Profile
@AnushaPulichintha
AnushaPulichintha / gist:5772ece017565894ae34a7f8b9fe9891
Created October 3, 2024 08:08
task status from command line at first pickup point
[{"booking":{"id":"compose.dispatch-7bca612cd0","unix_millis_earliest_start_time":1727942761305,"unix_millis_request_time":null,"priority":null,"labels":["task_type=single-pickup-multi-dropoff","compartments=all,top"],"requester":null},"category":"multistop","detail":{},"unix_millis_start_time":1727942763529,"unix_millis_finish_time":1727943132724,"original_estimate_millis":289256,"estimate_millis":267313,"assigned_to":{"group":"mir_mc_clean","name":"mir008"},"status":"underway","dispatch":null,"phases":{"1":{"id":1,"category":"Sequence","detail":"[{\"category\":\"Go to [place:MB_B1_Part_A_Entry]\",\"detail\":\"Moving the robot from [graph-wp:14] to [place:MB_B1_Part_A_Entry]\"}]","unix_millis_start_time":1727942763528,"unix_millis_finish_time":1727942843465,"original_estimate_millis":55516,"estimate_millis":0,"final_event_id":0,"events":{"0":{"id":0,"status":"completed","name":"Sequence","detail":{},"deps":[1]},"1":{"id":1,"status":"completed","name":"Go to [place:MB_B1_Part_A_Entry]","detail":"Moving the ro
[{"booking":{"id":"compose.dispatch-c1b2dfac26","unix_millis_earliest_start_time":1727941334542,"unix_millis_request_time":null,"priority":null,"labels":["task_type=single-pickup-multi-dropoff","compartments=all,top"],"requester":null},"category":"multistop","detail":{},"unix_millis_start_time":1727941336942,"unix_millis_finish_time":1727942522266,"original_estimate_millis":289256,"estimate_millis":50544,"assigned_to":{"group":"mir_mc_clean","name":"mir008"},"status":"underway","dispatch":null,"phases":{"1":{"id":1,"category":"Sequence","detail":"[{\"category\":\"Go to [place:MB_B1_Part_A_Entry]\",\"detail\":\"Moving the robot from [place:MC_CSSD_Charger_2] to [place:MB_B1_Part_A_Entry]\"}]","unix_millis_start_time":1727941336941,"unix_millis_finish_time":1727941440038,"original_estimate_millis":70927,"estimate_millis":0,"final_event_id":0,"events":{"0":{"id":0,"status":"completed","name":"Sequence","detail":{},"deps":[1]},"1":{"id":1,"status":"completed","name":"Go to [place:MB_B1_Part_A_Entry]","detail":"Mo
[{"booking":{"id":"compose.dispatch-e049fb900a","unix_millis_earliest_start_time":0,"unix_millis_request_time":1727940093100,"priority":null,"labels":["{\"description\":{\"task_definition_id\":\"single_pickup_multi_dropoff\",\"task_type\":\"single-pickup-multi-dropoff\",\"compartments\":\"all,top,top\"}}"],"requester":"x_oen"},"category":"single_pickup_multi_dropoff","detail":{},"unix_millis_start_time":1727940095555,"unix_millis_finish_time":1727940501788,"original_estimate_millis":302865,"estimate_millis":287940,"assigned_to":{"group":"mir_mc_clean","name":"mir008"},"status":"underway","dispatch":null,"phases":{"1":{"id":1,"category":"Sequence","detail":"[{\"category\":\"Go to [place:MB_B1_Part_A_Entry]\",\"detail\":\"Moving the robot from [graph-wp:15] to [place:MB_B1_Part_A_Entry]\"}]","unix_millis_start_time":1727940095554,"unix_millis_finish_time":1727940198905,"original_estimate_millis":62090,"estimate_millis":0,"final_event_id":0,"events":{"0":{"id":0,"status":"completed","name":"Sequence","detail":{}
2024-09-26 07:13:35,532 DEBUG [org.hibernate.orm.results] (executor-thread-1) Initializer list:
org.keycloak.models.jpa.entities.RoleEntity.compositeRoles -> SetInitializer(org.keycloak.models.jpa.entities.RoleEntity.compositeRoles)@1623745349 (PluralAttribute(org.keycloak.models.jpa.entities.RoleEntity.compositeRoles))
org.keycloak.models.jpa.entities.RoleEntity.compositeRoles.{element}.attributes -> DelayedCollectionInitializer(org.keycloak.models.jpa.entities.RoleEntity.compositeRoles.{element}.attributes)@798060845 (PluralAttribute(org.keycloak.models.jpa.entities.RoleEntity.attributes))
org.keycloak.models.jpa.entities.RoleEntity.compositeRoles.{element} -> EntityJoinedFetchInitializer(org.keycloak.models.jpa.entities.RoleEntity.compositeRoles.{element})@729755919 (EntityCollectionPart(org.keycloak.models.jpa.entities.RoleEntity.compositeRoles#{element})@977258377)
org.keycloak.models.jpa.entities.RoleEntity.compositeRoles.{element}.compositeRoles -> DelayedCollect
2024-09-25 08:48:11,608 DEBUG [org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl] (executor-thread-1) `hibernate.connection.provider_disables_autocommit` was enabled. This setting should only be enabled when you are certain that the Connections given to Hibernate by the ConnectionProvider have auto-commit disabled. Enabling this setting when the Connections do not have auto-commit disabled will lead to Hibernate executing SQL operations outside of any JDBC/SQL transaction.
2024-09-25 08:48:11,608 DEBUG [org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl] (executor-thread-1) Hibernate RegisteredSynchronization successfully registered with JTA platform
2024-09-25 08:48:11,609 ERROR [org.keycloak.events.EventBuilder] (executor-thread-1) Event listener 'jsonlog_event_listener' registered, but provider not found
2024-09-25 08:48:11,609 DEBUG [org.keycloak.protocol.oidc.utils.RedirectUtils] (executor-thread-1) replacing relative valid redirect with: https://ttsro
@AnushaPulichintha
AnushaPulichintha / gist:17e08edd37113c28394f4beeae8377ed
Created September 4, 2024 05:57
Kubernetes events after prune command
Name: cghromivsapp01.ses.shsu.com.sg
Roles: worker
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/instance-type=k3s
beta.kubernetes.io/os=linux
kubernetes.io/arch=amd64
kubernetes.io/hostname=cghromivsapp01.ses.shsu.com.sg
kubernetes.io/os=linux
node-role.kubernetes.io/worker=worker
node.kubernetes.io/instance-type=k3s
@AnushaPulichintha
AnushaPulichintha / gist:9d55bdb30d7a61fca801498a8491b08a
Created September 4, 2024 05:55
Kubeernetes prune image logs
Deleted: rancher/mirrored-metrics-server:v0.7.0
Deleted: CGHROMIVSAPP02.ses.shsu.com.sg:5000/uat/rmf-web-scas:staging-8c51580
Deleted: CGHROMIVSAPP02.ses.shsu.com.sg:5000/uat/cgh-rtls-adapter:20240814noauth
Deleted: CGHROMIVSAPP02.ses.shsu.com.sg:5000/uat/rmf-web-dashboard:staging-c488089
Deleted: rancher/mirrored-library-busybox:1.36.1
E0904 13:53:16.986927 2220073 remote_image.go:192] "RemoveImage from image service failed" err="rpc error: code = DeadlineExceeded desc = context deadline exceeded" image="sha256:cdd16451b29a40b801758ea9e43ff55ba898f1f08ff7397311b383ba9cfc64fb"
Deleted: CGHROMIVSAPP02.ses.shsu.com.sg:5000/uat/rmf-web-dashboard:staging-d417849
E0904 13:53:20.112368 2220073 remote_image.go:192] "RemoveImage from image service failed" err="rpc error: code = DeadlineExceeded desc = context deadline exceeded" image="sha256:0b5211a4aa7d530cb81f41da2fb58d9187bbf544a36c1ea37652e84ae90947e7"
E0904 13:53:22.113934 2220073 remote_image.go:140] "Get ImageStatus from image service failed" err="rpc error: c
Name: cghromivsapp01.ses.shsu.com.sg
Roles: worker
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/instance-type=k3s
beta.kubernetes.io/os=linux
kubernetes.io/arch=amd64
kubernetes.io/hostname=cghromivsapp01.ses.shsu.com.sg
kubernetes.io/os=linux
node-role.kubernetes.io/worker=worker
node.kubernetes.io/instance-type=k3s