TrainingJob has no logs or events after applying

Describe the bug
I setup my k8s cluster, roles, and policies using terraform. I followed the machine learning sagemaker ACK tutorial for deploying training jobs to sagemaker. The pods seem to be running fine but whenever I submit a job, the job has no status or events. The job doesn't seem to be hitting the pod because when I output the pod logs there is nothing new. Please see images below. Any help is appreciated!
Environment
AWS EC2 m5.large instance using Deep Learning AMI.

ubuntu@ip-172-31-35-229:/imvaria/repos/model-training$ kubectl describe pod ack-system-controller-sagemaker-chart-86b77d98c5-kjz8x -n ack-system
Name:         ack-system-controller-sagemaker-chart-86b77d98c5-kjz8x
Namespace:    ack-system
Priority:     0
Node:         ip-10-0-2-148.us-west-2.compute.internal/<IP_ADDRESS>
Start Time:   Mon, 11 Jul 2022 22:02:13 +0000
Labels:       app.kubernetes.io/instance=ack-system-controller
              app.kubernetes.io/managed-by=Helm
              app.kubernetes.io/name=sagemaker-chart
              k8s-app=sagemaker-chart
              pod-template-hash=86b77d98c5
Annotations:  kubernetes.io/psp: eks.privileged
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/ack-system-controller-sagemaker-chart-86b77d98c5
Containers:
  controller:
    Container ID:  docker://1450a255be9e7bbdc06805a31977594490bd0284cf3e4e22b56c92ad008a8693
    Image:         public.ecr.aws/aws-controllers-k8s/sagemaker-controller:v0.3.0
    Image ID:      docker-pullable://public.ecr.aws/aws-controllers-k8s/sagemaker-controller@sha256:4566fa9f7626c2df33c94b8e46105d80902fa81b84182bf50d0a0805529ccd83
    Port:          8080/TCP
    Host Port:     0/TCP
    Command:
      ./bin/controller
    Args:
      --aws-region
      $(AWS_REGION)
      --aws-endpoint-url
      $(AWS_ENDPOINT_URL)
--enable-development-logging
      $(ACK_ENABLE_DEVELOPMENT_LOGGING)
      --log-level
      $(ACK_LOG_LEVEL)
      --resource-tags
      $(ACK_RESOURCE_TAGS)
      --watch-namespace
      $(ACK_WATCH_NAMESPACE)
    State:          Running
      Started:      Mon, 11 Jul 2022 22:02:17 +0000
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     100m
      memory:  128Mi
    Requests:
      cpu:     50m
      memory:  64Mi
    Environment:
      K8S_NAMESPACE:                   ack-system (v1:metadata.namespace)
      AWS_REGION:                      us-west-2
      AWS_ENDPOINT_URL:
      ACK_WATCH_NAMESPACE:
      ACK_ENABLE_DEVELOPMENT_LOGGING:  false
      ACK_LOG_LEVEL:                   info
      ACK_RESOURCE_TAGS:               services.k8s.aws/managed=true,services.k8s.aws/created=%UTCNOW%,services.k8s.aws/namespace=%KUBERNETES_NAMESPACE%
      AWS_STS_REGIONAL_ENDPOINTS:      regional
      AWS_ROLE_ARN:                    arn:aws:iam::438029713005:role/model-training-oidc-role2022071121154804990000000c
      AWS_WEB_IDENTITY_TOKEN_FILE:     /var/run/secrets/eks.amazonaws.com/serviceaccount/token
    Mounts:
      /var/run/secrets/eks.amazonaws.com/serviceaccount from aws-iam-token (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-zpl2q (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  aws-iam-token:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  86400
  kube-api-access-zpl2q:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:              kubernetes.io/os=linux
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type    Reason     Age   From               Message
  ----    ------     ----  ----               -------
  Normal  Scheduled  29m   default-scheduler  Successfully assigned ack-system/ack-system-controller-sagemaker-chart-86b77d98c5-kjz8x to ip-10-0-2-148.us-west-2.compute.internal
  Normal  Pulled     29m   kubelet            Container image "public.ecr.aws/aws-controllers-k8s/sagemaker-controller:v0.3.0" already present on machine
  Normal  Created    29m   kubelet            Created container controller
  Normal  Started    29m   kubelet            Started container controller

describe trainingjob
ubuntu@ip-172-31-35-229:/imvaria/repos/model-training$ kubectl describe trainingjob osic-test-run
Name:         osic-test-run
Namespace:    default
Labels:       <none>
Annotations:  <none>
API Version:  sagemaker.services.k8s.aws/v1alpha1
Kind:         TrainingJob
Metadata:
  Creation Timestamp:  2022-07-11T22:12:22Z
  Generation:          1
  Managed Fields:
    API Version:  sagemaker.services.k8s.aws/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .:
          f:kubectl.kubernetes.io/last-applied-configuration:
      f:spec:
        .:
        f:algorithmSpecification:
          .:
          f:trainingImage:
          f:trainingInputMode:
        f:inputDataConfig:
        f:outputDataConfig:
          .:
          f:s3OutputPath:
        f:resourceConfig:
          .:
          f:instanceCount:
          f:instanceType:
          f:volumeSizeInGB:
        f:roleARN:
        f:stoppingCondition:
          .:
          f:maxRuntimeInSeconds:
        f:trainingJobName:
    Manager:         kubectl-client-side-apply
    Operation:       Update
    Time:            2022-07-11T22:12:22Z
  Resource Version:  10718
  UID:               d88ef399-d18b-4286-8a5b-199fb54788d2
Spec:
  Algorithm Specification:
    Training Image:<PHONE_NUMBER>05.dkr.ecr.us-west-2.amazonaws.com/model-training:latest
    Training Input Mode:  File
  Input Data Config:
    Channel Name:      train
    Compression Type:  None
    Data Source:
      s3DataSource:
        s3DataDistributionType:  FullReplicated
        s3DataType:              S3Prefix
        s3URI:                   s3://osic-full-including-override
  Output Data Config:
    s3OutputPath:  s3://osic-full-including-override
  Resource Config:
    Instance Count:     1
    Instance Type:      ml.p3.2xlarge
    Volume Size In GB:  500
  Role ARN:             arn:aws:iam::438029713005:role/model-training-sagemaker-role20220711210712535100000003
  Stopping Condition:
    Max Runtime In Seconds:  900
  Training Job Name:         osic-test-run
Events:                      <none>

Kubernetes version: 1.22

Hi @angadkalra, thanks for reporting the issue. What did you set the value of installScope in the helm chart?
If you changed it to namespace, you will need to create the TrainingJob CR in the ack-system namespace since your controller is only watching for jobs in the same namespce

Can you paste the controller pod logs as well?
kubectl logs  ack-system-controller-sagemaker-chart-86b77d98c5-kjz8x -n ack-system

Hi @surajkota , installScope is set to "cluster".

This is the logs from pod:
ubuntu@ip-172-31-35-229:/imvaria/repos/model-training$ kubectl logs ack-system-controller-sagemaker-chart-86b77d98c5-kjz8x -n ack-system                       │
2022-07-11T22:02:19.190Z        INFO    controller-runtime.metrics      metrics server is starting to listen    {"addr": "<IP_ADDRESS>:8080"}                       │
2022-07-11T22:02:19.190Z        INFO    setup   initializing service controller {"aws.service": "sagemaker"}                                                   │
2022-07-11T22:02:19.192Z        INFO    setup   starting manager        {"aws.service": "sagemaker"}                                                           │
2022-07-11T22:02:19.192Z        INFO    controller-runtime.manager      starting metrics server {"path": "/metrics"}                                           │
2022-07-11T22:02:19.192Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "modelexplainabilityjobdefinition", "source": "k│
ind source: /, Kind="}                                                                                │
2022-07-11T22:02:19.192Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "dataqualityjobdefinition", "source": "kind sour│
ce: /, Kind="}                                                                                │
2022-07-11T22:02:19.193Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "endpoint", "source": "kind source: /, Kind="}  │
2022-07-11T22:02:19.193Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "notebookinstancelifecycleconfig", "source": "k$│
nd source: /, Kind="}                                                                                │
2022-07-11T22:02:19.193Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "app", "source": "kind source: /, Kind="}       │
2022-07-11T22:02:19.193Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "userprofile", "source": "kind source: /, Kind=$│
}                                                                                │
2022-07-11T22:02:19.193Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "model", "source": "kind source: /, Kind="}     │
2022-07-11T22:02:19.193Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "notebookinstance", "source": "kind source: /, $│
ind="}                                                                                │
2022-07-11T22:02:19.193Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "monitoringschedule", "source": "kind source: /$│
 Kind="}                                                                                │
2022-07-11T22:02:19.194Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "hyperparametertuningjob", "source": "kind sour$│
e: /, Kind="}                                                                                │
2022-07-11T22:02:19.194Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "transformjob", "source": "kind source: /, Kind
2022-07-11T22:02:19.194Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "modelbiasjobdefinition", "source": "kind sourc$│
: /, Kind="}                                                                                │
2022-07-11T22:02:19.194Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "featuregroup", "source": "kind source: /, Kind$│
"}                                                                                │
2022-07-11T22:02:19.194Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "modelpackage", "source": "kind source: /, Kind$│
"}                                                                                │
2022-07-11T22:02:19.194Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "processingjob", "source": "kind source: /, Kin$│
="}
2022-07-11T22:02:19.195Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "modelpackagegroup", "source": "kind source: /, │
Kind="}                                                                                │
2022-07-11T22:02:19.195Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "endpointconfig", "source": "kind source: /, Ki$│
d="}                                                                                │
2022-07-11T22:02:19.195Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "modelqualityjobdefinition", "source": "kind so$│
rce: /, Kind="}                                                                                │
2022-07-11T22:02:19.195Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "trainingjob", "source": "kind source: /, Kind=$│
}                                                                                │
2022-07-11T22:02:19.195Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "domain", "source": "kind source: /, Kind="}    │
2022-07-11T22:02:19.195Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "adoptedresource", "source": "kind source: /, K$│
nd="}                                                                                │
2022-07-11T22:02:19.337Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "modelexplainabilityjobdefinition"}             │
2022-07-11T22:02:19.438Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "endpoint"}                                     │
2022-07-11T22:02:19.439Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "notebookinstancelifecycleconfig"}              │
2022-07-11T22:02:19.537Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "app"}                                          │
2022-07-11T22:02:19.537Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "userprofile"}                                  │
2022-07-11T22:02:19.537Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "model"}                                        │
2022-07-11T22:02:19.537Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "notebookinstance"}                             │
2022-07-11T22:02:19.594Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "monitoringschedule"}                           │
2022-07-11T22:02:19.594Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "hyperparametertuningjob"}                      │
2022-07-11T22:02:19.693Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "dataqualityjobdefinition"}                     │
2022-07-11T22:02:19.694Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "transformjob"}                                 │
2022-07-11T22:02:19.794Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "modelbiasjobdefinition"}                       │
2022-07-11T22:02:19.894Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "featuregroup"}                                 │
2022-07-11T22:02:19.895Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "modelpackage"}                                 │
2022-07-11T22:02:19.995Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "processingjob"}                                │
2022-07-11T22:02:19.995Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "modelpackagegroup"}
2022-07-11T22:02:20.137Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "modelqualityjobdefinition"}                    │ubuntu@ip-172-31-35-229:~$
2022-07-11T22:02:20.137Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "trainingjob"}                                  │
2022-07-11T22:02:20.137Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "endpointconfig"}                               │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "dataqualityjobdefinition", "worker count": 1}  │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "notebookinstance", "worker count": 1}          │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "monitoringschedule", "worker count": 1}        │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "hyperparametertuningjob", "worker count": 1}   │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "transformjob", "worker count": 1}              │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "modelbiasjobdefinition", "worker count": 1}    │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "featuregroup", "worker count": 1}              │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "processingjob", "worker count": 1}             │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "model", "worker count": 1}                     │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "app", "worker count": 1}                       │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "modelexplainabilityjobdefinition", "worker coun
t": 1}                                                                                │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "modelpackagegroup", "worker count": 1}         │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "userprofile", "worker count": 1}               │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "domain"}                                       │
2022-07-11T22:02:20.238Z        INFO    controller-runtime.controller   Starting workers        {"controller": "domain", "worker count": 1}                    │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "adoptedresource"}                              │
2022-07-11T22:02:20.238Z        INFO    controller-runtime.controller   Starting workers        {"controller": "adoptedresource", "worker count": 1}           │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "modelpackage", "worker count": 1}              │
2022-07-11T22:02:20.237Z        INFO    controller-runtime.controller   Starting workers        {"controller": "modelqualityjobdefinition", "worker count": 1} │
2022-07-11T22:02:20.238Z        INFO    controller-runtime.controller   Starting workers        {"controller": "trainingjob", "worker count": 1}               │
2022-07-11T22:02:20.238Z        INFO    controller-runtime.controller   Starting workers        {"controller": "endpointconfig", "worker count": 1}            │
2022-07-11T22:02:20.239Z        INFO    controller-runtime.controller   Starting workers        {"controller": "endpoint", "worker count": 1}                  │
2022-07-11T22:02:20.239Z        INFO    controller-runtime.controller   Starting workers        {"controller": "notebookinstancelifecycleconfig", "worker count│
": 1}

Interesting . . .
Can you re-install the chart with enable_development_logging: true and level: debug https://github.com/aws-controllers-k8s/sagemaker-controller/blob/main/helm/values.yaml#L63-L64 and then check the logs for the controller again?
Can you also paste the ClusterRole(named sagemaker-controller) and ClusterRoleBinding(name starts with sagemaker-chart) describe output? based on controller logs this should not be an issue but since you mentioned you created using terraform, just wanted to check
and one silly question, the TrainingJob is created in the same cluster where the controller is running? to rule out the case where kube context changed while trying out things

okay reinstalled and this is logs:
ubuntu@ip-172-31-35-229:/imvaria/repos/model-training/k8s$ kubectl logs ack-sagemaker-controller-sagemaker-cha$│
t-576497dcf8-n7pz5 -n ack-system                                                                               │
2022-07-12T04:04:31.617Z        INFO    controller-runtime.metrics      metrics server is starting to listen  $│
"addr": "<IP_ADDRESS>:8080"}                                                                                │
2022-07-12T04:04:31.618Z        INFO    setup   initializing service controller {"aws.service": "sagemaker"}   │
2022-07-12T04:04:31.619Z        INFO    setup   starting manager        {"aws.service": "sagemaker"}           │
2022-07-12T04:04:31.619Z        INFO    controller-runtime.manager      starting metrics server {"path": "/met$│
ics"}                                                                                │
2022-07-12T04:04:31.620Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"app", "source": "kind source: /, Kind="}                                                                      │
2022-07-12T04:04:31.637Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"endpointconfig", "source": "kind source: /, Kind="}                                                           │
2022-07-12T04:04:31.638Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"modelbiasjobdefinition", "source": "kind source: /, Kind="}                                                   │
2022-07-12T04:04:31.639Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"userprofile", "source": "kind source: /, Kind="}                                                              │
2022-07-12T04:04:31.640Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"monitoringschedule", "source": "kind source: /, Kind="}                                                       │
2022-07-12T04:04:31.640Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"domain", "source": "kind source: /, Kind="}                                                                   │
2022-07-12T04:04:31.640Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"trainingjob", "source": "kind source: /, Kind="}                                                              │
2022-07-12T04:04:31.641Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"processingjob", "source": "kind source: /, Kind="}                                                            │
2022-07-12T04:04:31.641Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"dataqualityjobdefinition", "source": "kind source: /, Kind="}                                                 │
2022-07-12T04:04:31.738Z        DEBUG   cache.namespace created namespace       {"name": "kube-node-lease"}    │
2022-07-12T04:04:31.738Z        DEBUG   cache.namespace created namespace       {"name": "default"}            │
2022-07-12T04:04:31.738Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"modelpackage", "source": "kind source: /, Kind="}                                                             ├──────────────────────────────────────────────────────────────────────────────────────────────────────────────
2022-07-12T04:04:31.739Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │ubuntu@ip-172-31-35-229:~$
"endpoint", "source": "kind source: /, Kind="}                                                                 │
2022-07-12T04:04:31.739Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"notebookinstance", "source": "kind source: /, Kind="}                                                         │
2022-07-12T04:04:31.740Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"notebookinstancelifecycleconfig", "source": "kind source: /, Kind="}                                          │
2022-07-12T04:04:31.740Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"modelqualityjobdefinition", "source": "kind source: /, Kind="}                                                │
2022-07-12T04:04:31.837Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"model", "source": "kind source: /, Kind="}                                                                    │
2022-07-12T04:04:31.837Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"modelpackagegroup", "source": "kind source: /, Kind="}                                                        │
2022-07-12T04:04:31.838Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"hyperparametertuningjob", "source": "kind source: /, Kind="}                                                  │
2022-07-12T04:04:31.838Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"adoptedresource", "source": "kind source: /, Kind="}                                                          │
2022-07-12T04:04:31.839Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"transformjob", "source": "kind source: /, Kind="}                                                             │
2022-07-12T04:04:31.840Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"featuregroup", "source": "kind source: /, Kind="}                                                             │
2022-07-12T04:04:31.840Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": │
"modelexplainabilityjobdefinition", "source": "kind source: /, Kind="}                                         │
2022-07-12T04:04:31.938Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"modelbiasjobdefinition"}                                                                                │
2022-07-12T04:04:31.940Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"userprofile"}                                                                                │
2022-07-12T04:04:31.940Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"monitoringschedule"}                                                                                │
2022-07-12T04:04:31.940Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"domain"}
2022-07-12T04:04:32.037Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"app"}                                                                                │
2022-07-12T04:04:32.037Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"processingjob"}                                                                                │
2022-07-12T04:04:32.037Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"trainingjob"}                                                                                │
2022-07-12T04:04:32.040Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"endpointconfig"}                                                                                │
2022-07-12T04:04:32.042Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"modelpackage"}                                                                                │
2022-07-12T04:04:32.042Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"endpoint"}                                                                                │
2022-07-12T04:04:32.043Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"dataqualityjobdefinition"}                                                                                │
2022-07-12T04:04:32.140Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"notebookinstance"}                                                                                │
2022-07-12T04:04:32.240Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"notebookinstancelifecycleconfig"}                                                                             │
2022-07-12T04:04:32.240Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"modelqualityjobdefinition"}                                                                                │
2022-07-12T04:04:32.338Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"model"}                                                                                │
2022-07-12T04:04:32.338Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"hyperparametertuningjob"}                                                                                │
2022-07-12T04:04:32.338Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"modelpackagegroup"}                                                                                │
2022-07-12T04:04:32.439Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"adoptedresource"}                                                                                │
2022-07-12T04:04:32.439Z        INFO    controller-runtime.controller   Starting Controller     {"controller": ├──────────────────────────────────────────────────────────────────────────────────────────────────────────────
"transformjob"}                                                                                │ubuntu@ip-172-31-35-229:~$
2022-07-12T04:04:32.441Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"featuregroup"}                                                                                │
2022-07-12T04:04:32.537Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"processingjob", "worker count": 1}                                                                            │
2022-07-12T04:04:32.537Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"app", "worker count": 1}                                                                                │
2022-07-12T04:04:32.537Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"trainingjob", "worker count": 1}                                                                              │
2022-07-12T04:04:32.538Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"model", "worker count": 1}                                                                                │
2022-07-12T04:04:32.538Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"modelbiasjobdefinition", "worker count": 1}                                                                   │
2022-07-12T04:04:32.538Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"hyperparametertuningjob", "worker count": 1}                                                                  │
2022-07-12T04:04:32.539Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"modelpackagegroup", "worker count": 1}                                                                        │
2022-07-12T04:04:32.539Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"endpointconfig", "worker count": 1}                                                                           │
2022-07-12T04:04:32.539Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"adoptedresource", "worker count": 1}                                                                          │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"transformjob", "worker count": 1}                                                                             │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"modelpackage", "worker count": 1}                                                                             │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"endpoint", "worker count": 1}                                                                                │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"dataqualityjobdefinition", "worker count": 1}                                                                 │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller":
2022-07-12T04:04:32.140Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"notebookinstance"}                                                                                │
2022-07-12T04:04:32.240Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"notebookinstancelifecycleconfig"}                                                                             │
2022-07-12T04:04:32.240Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"modelqualityjobdefinition"}                                                                                │
2022-07-12T04:04:32.338Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"model"}                                                                                │
2022-07-12T04:04:32.338Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"hyperparametertuningjob"}                                                                                │
2022-07-12T04:04:32.338Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"modelpackagegroup"}                                                                                │
2022-07-12T04:04:32.439Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"adoptedresource"}                                                                                │
2022-07-12T04:04:32.439Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"transformjob"}                                                                                │
2022-07-12T04:04:32.441Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"featuregroup"}                                                                                │
2022-07-12T04:04:32.537Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"processingjob", "worker count": 1}                                                                            │
2022-07-12T04:04:32.537Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"app", "worker count": 1}                                                                                │
2022-07-12T04:04:32.537Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"trainingjob", "worker count": 1}                                                                              │
2022-07-12T04:04:32.538Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"model", "worker count": 1}                                                                                │
2022-07-12T04:04:32.538Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"modelbiasjobdefinition", "worker count": 1}                                                                   │
2022-07-12T04:04:32.538Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"hyperparametertuningjob", "worker count": 1}                                                                  │
2022-07-12T04:04:32.539Z        INFO    controller-runtime.controller   Starting workers        {"controller": ├──────────────────────────────────────────────────────────────────────────────────────────────────────────────
"modelpackagegroup", "worker count": 1}                                                                        │ubuntu@ip-172-31-35-229:~$
2022-07-12T04:04:32.539Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"endpointconfig", "worker count": 1}                                                                           │
2022-07-12T04:04:32.539Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"adoptedresource", "worker count": 1}                                                                          │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"transformjob", "worker count": 1}                                                                             │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"modelpackage", "worker count": 1}                                                                             │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"endpoint", "worker count": 1}                                                                                │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"dataqualityjobdefinition", "worker count": 1}                                                                 │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"notebookinstance", "worker count": 1}                                                                         │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"domain", "worker count": 1}                                                                                │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting Controller     {"controller": │
"modelexplainabilityjobdefinition"}                                                                            │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"modelexplainabilityjobdefinition", "worker count": 1}                                                         │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"notebookinstancelifecycleconfig", "worker count": 1}                                                          │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"userprofile", "worker count": 1}                                                                              │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"monitoringschedule", "worker count": 1}                                                                       │
2022-07-12T04:04:32.540Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"modelqualityjobdefinition", "worker count": 1}                                                                │
2022-07-12T04:04:32.541Z        INFO    controller-runtime.controller   Starting workers        {"controller": │
"featuregroup", "worker count": 1}

ubuntu@ip-172-31-35-229:/imvaria/repos/model-training/k8s$ kubectl describe clusterrole ack-sagemaker-controlle
r
Name:         ack-sagemaker-controller
Labels:       app.kubernetes.io/managed-by=Helm
Annotations:  meta.helm.sh/release-name: ack-sagemaker-controller
              meta.helm.sh/release-namespace: ack-system
PolicyRule:
  Resources                                                            Non-Resource URLs  Resource Names  Verbs
  ---------                                                            -----------------  --------------  -----
  apps.sagemaker.services.k8s.aws                                      []                 []              [create delete get list patch update watch]
  dataqualityjobdefinitions.sagemaker.services.k8s.aws                 []                 []              [create delete get list patch update watch]
  domains.sagemaker.services.k8s.aws                                   []                 []              [create delete get list patch update watch]
  endpointconfigs.sagemaker.services.k8s.aws                           []                 []              [create delete get list patch update watch]
  endpoints.sagemaker.services.k8s.aws                                 []                 []              [create delete get list patch update watch]
  featuregroups.sagemaker.services.k8s.aws                             []                 []              [create delete get list patch update watch]
  hyperparametertuningjobs.sagemaker.services.k8s.aws                  []                 []              [create delete get list patch update watch]
  modelbiasjobdefinitions.sagemaker.services.k8s.aws                   []                 []              [create delete get list patch update watch]
  modelexplainabilityjobdefinitions.sagemaker.services.k8s.aws         []                 []              [create delete get list patch update watch]
  modelpackagegroups.sagemaker.services.k8s.aws                        []                 []              [create delete get list patch update watch]
  modelpackages.sagemaker.services.k8s.aws                             []                 []              [create delete get list patch update watch]
  modelqualityjobdefinitions.sagemaker.services.k8s.aws                []                 []              [create delete get list patch update watch]
  models.sagemaker.services.k8s.aws                                    []                 []              [create delete get list patch update watch]
  monitoringschedules.sagemaker.services.k8s.aws                       []                 []              [create delete get list patch update watch]
  notebookinstancelifecycleconfigs.sagemaker.services.k8s.aws          []                 []              [create delete get list patch update watch]
  notebookinstances.sagemaker.services.k8s.aws                         []                 []              [create delete get list patch update watch]
  processingjobs.sagemaker.services.k8s.aws                            []                 []              [create delete get list patch update watch]
  trainingjobs.sagemaker.services.k8s.aws                              []                 []              [create delete get list patch update watch]
  transformjobs.sagemaker.services.k8s.aws                             []                 []              [create delete get list patch update watch]
  userprofiles.sagemaker.services.k8s.aws                              []                 []              [create delete get list patch update watch]
  adoptedresources.services.k8s.aws                                    []                 []              [create delete get list patch update watch]
  configmaps                                                           []                 []              [get list watch]
  namespaces                                                           []                 []              [get list watch]
  apps.sagemaker.services.k8s.aws/status                               []                 []              [get patch update]
  dataqualityjobdefinitions.sagemaker.services.k8s.aws/status          []                 []              [get patch update]
  domains.sagemaker.services.k8s.aws/status                            []                 []              [get patch update]
  endpointconfigs.sagemaker.services.k8s.aws/status                    []                 []              [get patch update]
  endpoints.sagemaker.services.k8s.aws/status                          []                 []              [get patch update]
  featuregroups.sagemaker.services.k8s.aws/status                      []                 []              [get patch update]
  hyperparametertuningjobs.sagemaker.services.k8s.aws/status           []                 []              [get patch update]
  modelbiasjobdefinitions.sagemaker.services.k8s.aws/status            []                 []              [get patch update]
  modelexplainabilityjobdefinitions.sagemaker.services.k8s.aws/status  []                 []              [get patch update]
  modelpackagegroups.sagemaker.services.k8s.aws/status                 []                 []              [get patch update]
  modelpackages.sagemaker.services.k8s.aws/status                      []                 []              [get patch update]
  modelqualityjobdefinitions.sagemaker.services.k8s.aws/status         []                 []              [get patch update]
  models.sagemaker.services.k8s.aws/status                             []                 []              [get patch update]
  monitoringschedules.sagemaker.services.k8s.aws/status                []                 []              [get patch update]
  notebookinstancelifecycleconfigs.sagemaker.services.k8s.aws/status   []                 []              [get patch update]
  notebookinstances.sagemaker.services.k8s.aws/status                  []                 []              [get patch update]
  processingjobs.sagemaker.services.k8s.aws/status                     []                 []              [get patch update]
  trainingjobs.sagemaker.services.k8s.aws/status                       []                 []              [get patch update]
  transformjobs.sagemaker.services.k8s.aws/status                      []                 []              [get patch update]
  userprofiles.sagemaker.services.k8s.aws/status                       []                 []              [get patch update]
  adoptedresources.services.k8s.aws/status                             []                 []              [get patch update]

ubuntu@ip-172-31-35-229:/imvaria/repos/model-training/k8s$ kubectl describe clusterrolebinding ack-sagemaker-controller-sagemaker-chart
Name:         ack-sagemaker-controller-sagemaker-chart
Labels:       app.kubernetes.io/managed-by=Helm
Annotations:  meta.helm.sh/release-name: ack-sagemaker-controller
              meta.helm.sh/release-namespace: ack-system
Role:
  Kind:  ClusterRole
  Name:  ack-sagemaker-controller
Subjects:
  Kind            Name                      Namespace
  ----            ----                      ---------
  ServiceAccount  ack-sagemaker-controller  ack-system

Regarding TrainingJob being created in same cluster, I only have one cluster running. Then I run kubectl apply. Is there a way to set the cluster to a desired cluster or make kubectl apply specific to a cluster?

You can run kubectl config current-context to check the current cluster config points to
kubectl config get-contexts to list

@angadkalra Your configuration looks correct to me.
I suspect something is going on with the ACK_WATCH_NAMESPACE, can you edit the ack-system-controller-sagemaker-chart deployment and set the ACK_WATCH_NAMESPACE environment variable value to default?
kubectl set env -n ack-system deployment/ack-system-controller-sagemaker-chart ACK_SYSTEM_NAMESPACE=default
The controller pod should restart. If it doesn't please restart it. Let's see if this works.

Okay I did that. One thing to note is that my deployment was called "ack-sagemaker-controller-sagemaker-chart" instead of "ack-system-controller-sagemaker-chart". Is that okay?
The pod restarted. I tried running the training job and got same result...no events.
This is my job:
apiVersion: sagemaker.services.k8s.aws/v1alpha1
kind: TrainingJob
metadata:
  name: osic-test-run
spec:
  trainingJobName: osic-test-run
  algorithmSpecification:
    trainingImage:<PHONE_NUMBER>05.dkr.ecr.us-west-2.amazonaws.com/model-training:latest
    trainingInputMode: FastFile
  roleARN: arn:aws:iam::438029713005:role/model-training-sagemaker-role20220711210712535100000003
  stoppingCondition:
    maxRuntimeInSeconds: 36000
  inputDataConfig:
    - channelName: train
      dataSource:
        s3DataSource:
          s3DataType: S3Prefix
          s3URI: s3://osic-full-including-override
          s3DataDistributionType: FullReplicated
      compressionType: None
  outputDataConfig:
    s3OutputPath: s3://osic-full-including-override
  resourceConfig:
    instanceCount: 1
    instanceType: ml.p3.2xlarge
    volumeSizeInGB: 500

Below is output for describing new pod. I have one question: You wanted to set the ACK_WATCH_NAMESPACE but the command you gave is ACK_SYSTEM_NAMESPACE, does that matter?
ubuntu@ip-172-31-35-229:/imvaria/repos/model-training/k8s$ kubectl describe pod ack-sagemaker-controller-sagemaker-chart-5dcc4648d7-zr5kl -n ack-system
Name:         ack-sagemaker-controller-sagemaker-chart-5dcc4648d7-zr5kl
Namespace:    ack-system
Priority:     0
Node:         ip-10-0-2-148.us-west-2.compute.internal/<IP_ADDRESS>
Start Time:   Tue, 12 Jul 2022 15:53:50 +0000
Labels:       app.kubernetes.io/instance=ack-sagemaker-controller
              app.kubernetes.io/managed-by=Helm
              app.kubernetes.io/name=sagemaker-chart
              k8s-app=sagemaker-chart
              pod-template-hash=5dcc4648d7
Annotations:  kubernetes.io/psp: eks.privileged
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/ack-sagemaker-controller-sagemaker-chart-5dcc4648d7
Containers:
  controller:
    Container ID:  docker://a9d1d974d4e05c0f518d64108e30a5d7083a6cf73933865884ec94b07ab0cbde
    Image:         public.ecr.aws/aws-controllers-k8s/sagemaker-controller:v0.3.0
    Image ID:      docker-pullable://public.ecr.aws/aws-controllers-k8s/sagemaker-controller@sha256:4566fa9f7626c2df33c94b8e46105d80902fa81b84182bf50d0a0805529ccd83
    Port:          8080/TCP
    Host Port:     0/TCP
    Command:
      ./bin/controller
    Args:
      --aws-region
      $(AWS_REGION)
      --aws-endpoint-url
      $(AWS_ENDPOINT_URL)
      --enable-development-logging
      $(ACK_ENABLE_DEVELOPMENT_LOGGING)
      --log-level
      $(ACK_LOG_LEVEL)
      --resource-tags
      $(ACK_RESOURCE_TAGS)
      --watch-namespace
      $(ACK_WATCH_NAMESPACE)
    State:          Running
      Started:      Tue, 12 Jul 2022 15:53:54 +0000
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     100m
      memory:  128Mi
    Requests:
      cpu:     50m
      memory:  64Mi
    Environment:
      K8S_NAMESPACE:                   ack-system (v1:metadata.namespace)
      AWS_REGION:                      us-west-2
      AWS_ENDPOINT_URL:
      ACK_WATCH_NAMESPACE:
      ACK_ENABLE_DEVELOPMENT_LOGGING:  true
      ACK_LOG_LEVEL:                   debug
      ACK_RESOURCE_TAGS:               services.k8s.aws/managed=true,services.k8s.aws/created=%UTCNOW%,services.k8s.aws/namespace=%KUBERNETES_NAMESPACE%
      ACK_SYSTEM_NAMESPACE:            default
      AWS_STS_REGIONAL_ENDPOINTS:      regional
      AWS_ROLE_ARN:                    arn:aws:iam::438029713005:role/model-training-oidc-role2022071121154804990000000c
      AWS_WEB_IDENTITY_TOKEN_FILE:     /var/run/secrets/eks.amazonaws.com/serviceaccount/token
    Mounts:
      /var/run/secrets/eks.amazonaws.com/serviceaccount from aws-iam-token (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-fz5kb (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  aws-iam-token:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  86400
  kube-api-access-fz5kb:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:              kubernetes.io/os=linux
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type    Reason     Age   From               Message
  ----    ------     ----  ----               -------
  Normal  Scheduled  43s   default-scheduler  Successfully assigned ack-system/ack-sagemaker-controller-sagemaker-chart-5dcc4648d7-zr5kl to ip-10-0-2-148.us-west-2.compute.internal
  Normal  Pulled     39s   kubelet            Container image "public.ecr.aws/aws-controllers-k8s/sagemaker-controller:v0.3.0" already present on machine
  Normal  Created    39s   kubelet            Created container controller
  Normal  Started    39s   kubelet            Started container controller

      ```

My bad and good catch, typo on my end, it should be ACK_WATCH_NAMESPACE not ACK_SYSTEM_NAMESPACE

One thing to note is that my deployment was called "ack-sagemaker-controller-sagemaker-chart" instead of "ack-system-controller-sagemaker-chart". Is that okay?

Yes, please use the deployment name you see for the controller

Okay tried all that and still nothing :(

Would you like to see my terraform setup file?

Are the logs still empty for the sagemaker-controller after enabling debug mode?

These are the logs after I submitted trainingjob:
2022-07-12T22:28:20.432Z        INFO    controller-runtime.controller   Starting workers        {"controller": "transformjob", "worker count": 1}
2022-07-12T22:28:20.432Z        INFO    controller-runtime.controller   Starting workers        {"controller": "featuregroup", "worker count": 1}
2022-07-12T22:28:20.432Z        INFO    controller-runtime.controller   Starting workers        {"controller": "endpointconfig", "worker count": 1}
2022-07-12T22:28:20.433Z        INFO    controller-runtime.controller   Starting workers        {"controller": "hyperparametertuningjob", "worker count": 1}
2022-07-12T22:28:20.433Z        INFO    controller-runtime.controller   Starting workers        {"controller": "notebookinstancelifecycleconfig", "worker count": 1}
2022-07-12T22:28:20.433Z        INFO    controller-runtime.controller   Starting workers        {"controller": "app", "worker count": 1}
2022-07-12T22:28:20.434Z        INFO    controller-runtime.controller   Starting workers        {"controller": "modelpackagegroup", "worker count": 1}
2022-07-12T22:28:47.032Z        DEBUG   ackrt   > r.Sync        {"account": "438029713005", "role": "", "region": "us-west-2", "kind": "TrainingJob", "namespace": "default", "name": "osic-test-run", "generation": 1}
2022-07-12T22:28:47.032Z        DEBUG   ackrt   >> rm.ReadOne   {"account": "438029713005", "role": "", "region": "us-west-2", "kind": "TrainingJob", "namespace": "default", "name": "osic-test-run", "is_adopted": false, "generation": 1}
2022-07-12T22:28:47.032Z        DEBUG   ackrt   >>> rm.sdkFind  {"account": "438029713005", "role": "", "region": "us-west-2", "kind": "TrainingJob", "namespace": "default", "name": "osic-test-run", "is_adopted": false, "generation": 1}
2022-07-12T22:28:47.156Z        DEBUG   ackrt   <<< rm.sdkFind  {"account": "438029713005", "role": "", "region": "us-west-2", "kind": "TrainingJob", "namespace": "default", "name": "osic-test-run", "is_adopted": false, "generation": 1}
2022-07-12T22:28:47.156Z        DEBUG   ackrt   << rm.ReadOne   {"account": "438029713005", "role": "", "region": "us-west-2", "kind": "TrainingJob", "namespace": "default", "name": "osic-test-run", "is_adopted": false, "generation": 1}
2022-07-12T22:28:47.156Z        DEBUG   ackrt   >> r.updateResource     {"account": "438029713005", "role": "", "region": "us-west-2", "kind": "TrainingJob", "namespace": "default", "name": "osic-test-run", "is_adopted": false, "generation": 1}
2022-07-12T22:28:47.156Z        DEBUG   ackrt   << r.updateResource     {"account": "438029713005", "role": "", "region": "us-west-2", "kind": "TrainingJob", "namespace": "default", "name": "osic-test-run", "is_adopted": false, "generation": 1}
2022-07-12T22:28:47.156Z        DEBUG   ackrt   < r.Sync        {"account": "438029713005", "role": "", "region": "us-west-2", "kind": "TrainingJob", "namespace": "default", "name": "osic-test-run", "is_adopted": false, "generation": 1}
2022-07-12T22:28:47.156Z        DEBUG   controller-runtime.controller   Successfully Reconciled {"controller": "trainingjob", "request": "default/osic-test-run"}

Does the training-job show up on the sagemaker ui? Can you try creating a new training job with a different name instead of "osic-test-run"

Does the training-job show up on the sagemaker ui? Can you try creating a new training job with a different name instead of "osic-test-run"

Tried renaming job, didn't show up in UI.

Are the logs also the same as the ones shared previously?

What do you get when describing the training-job ? Still no events?

What do you get when describing the training-job ? Still no events?

Nevermind, you are correct, renaming the job worked! I am getting legit error messages now and statuses! How did you know it was the job name? Do I have to delete old jobs with the same name in order to use a job name multiple times?

Sorry, what I mean is, I've been deleting jobs from the cmd line using kubectl delete trainingjob osic-test-run, but they still show up in sagemaker UI. Is that okay?

Yes, it is expected because the Job type of resources do not have a delete on SageMaker. They only support Stop. So if a job has already Completed or Stopped the controller just removes the finalizer from the resource so it can be deleted
If the an InProgress Job is deleted from K8s, the controller attempts to Stop the job and removes the finalizer only after the job has reached Stopped Status
Let us know if this makes sense

Yes, it is expected because the Job type of resources do not have a delete on SageMaker. They only support Stop. So if a job has already Completed or Stopped the controller just removes the finalizer from the resource so it can be deleted
If the an InProgress Job is deleted from K8s, the controller attempts to Stop the job and removes the finalizer only after the job has reached Stopped Status
Let us know if this makes sense

So what is the correct procedure for naming and deleting jobs?

w.r.t the controller's Deployment terraform template:

you can skip specifying the --watch-namespace  in args for the controller since it is optional or
try not including the ACK_WATCH_NAMESPACE environment variable.

The controller should start listening to resources all namespaces. I suspect that specifying "" as value for ACK_WATCH_NAMESPACE env variable is causing the issue you originally posted

So what is the correct procedure for naming and deleting jobs?

Naming - always use a new name for spec.trainingJobName. You will see an error under status if job already exists
Deleting - Nothing special, I was explaining the behaviour of the controller. If the an InProgress TrainingJob resource is deleted from K8s, the controller attempts to Stop the Job on SageMaker and removes the finalizer from the resource only after the job has reached Stopped Status. If the TrainingJob resource is deleted from K8s when it is already in Completed or Stopped status, the resource is cleaned up from cluster but you will still see it in SageMaker.

Okay thanks so much!


Fix link to ember-cli asset compilation

I was getting 404 error on github for the original:
http://www.ember-cli.com/asset-compilation/
but removing the trailing slash seems to fix it:
http://www.ember-cli.com/asset-compilation
I thought it would be better to link to the full site:
https://ember-cli.com/user-guide/#asset-compilation
so users can still navigate around the ember-cli site.

Excellent, I agree - thanks!


Videgular is not loading any videos or controls

I'm implementing videogular in my angular application, which is my first angular website. I've followed everything as shown in the example http://www.videogular.com/tutorials/how-to-start/, but nothing is coming up on the UI and didn't find any errors in the console. (I've installed videogular using nugget package manager).
Controller Code:
 $scope.config = {
        sources: [
            { src: $sce.trustAsResourceUrl("http://static.videogular.com/assets/videos/videogular.mp4"), type: "video/mp4" },
            { src: $sce.trustAsResourceUrl("http://static.videogular.com/assets/videos/videogular.webm"), type: "video/webm" },
            { src: $sce.trustAsResourceUrl("http://static.videogular.com/assets/videos/videogular.ogg"), type: "video/ogg" }
        ],
        tracks: [
            {
                src: "http://www.videogular.com/assets/subs/pale-blue-dot.vtt",
                kind: "subtitles",
                srclang: "en",
                label: "English",
                default: ""
            }
        ],
        theme: "~/Content/videogular.css",
        plugins: {
            poster: "http://www.videogular.com/assets/images/videogular.png"
        }
    };

HTML View:
<div class="videogular-container">
    <!--<video class="prod-det-play-area-video" poster="{{trailer.poster | trusted}}" src="{{trailer.targeturl | trusted}}" typeof="video/{{trailer.type}}" controls exit-full-screen hide-play-icon></video>-->

    <videogular vg-theme="http://www.videogular.com/styles/themes/default/latest/videogular.css">
        <vg-media vg-src="config.sources"></vg-media>

        <vg-controls>
            <vg-play-pause-button></vg-play-pause-button>
            <vg-time-display>{{ currentTime | date:'mm:ss' }}</vg-time-display>
            <vg-scrub-bar>
                <vg-scrub-bar-current-time></vg-scrub-bar-current-time>
            </vg-scrub-bar>
            <vg-time-display>{{ timeLeft | date:'mm:ss' }}</vg-time-display>
            <vg-volume>
                <vg-mute-button></vg-mute-button>
                <vg-volume-bar></vg-volume-bar>
            </vg-volume>
            <vg-fullscreen-button></vg-fullscreen-button>
        </vg-controls>

        <vg-overlay-play></vg-overlay-play>
        <vg-poster vg-url='config.plugins.poster'></vg-poster>
     </videogular>

Dependencies Added:
'ngSanitize',
'com.2fdevs.videogular',
'com.2fdevs.videogular.plugins.controls',
'com.2fdevs.videogular.plugins.overlayplay',
'com.2fdevs.videogular.plugins.poster'
Please tell me what is wrong here

See reply here: http://stackoverflow.com/questions/30268603/videogular-not-loading-any-videos-or-controls
vg-theme expects a property binding not a string literal.

I've tried this, but still no luck, I could see an empty container at least now, which was not happening earlier and here I guess the video is loaded, but no controls are showing up. I was trying to debug through the controls directive and at this line of code $scope.currentIcon = $.parseHTML($scope.vgPlayIcon)[0].data; I see that playIcon object as undefined and for the time it is just display as '{current}' in the middle of the video. Could you please help on this.

I think that you need to update to the latest Videogular version because vgPlayIcon was used on versions below 1.X. Please update to Videogular 1.2.1 to solve your problems.

Hi 2fdev,
I'm already using 1.2.1 in my app.
On May 17, 2015 04:54, "Two Fucking Developers"<EMAIL_ADDRESS>wrote:

I think that you need to update to the latest Videogular version because
vgPlayIcon was used on versions below 1.X. Please update to Videogular
1.2.1 to solve your problems.
—
Reply to this email directly or view it on GitHub
https://github.com/2fdevs/videogular/issues/214#issuecomment-102774319.

Sorry, its my bad. I've got only videogular.js with 1.2.1 and remaining are
not. Now, after updating all it is working fine. Thanks.
On May 17, 2015 10:39, "Ajay Srikanth"<EMAIL_ADDRESS>wrote:

Hi 2fdev,
I'm already using 1.2.1 in my app.
On May 17, 2015 04:54, "Two Fucking Developers"<EMAIL_ADDRESS>wrote:

I think that you need to update to the latest Videogular version because
vgPlayIcon was used on versions below 1.X. Please update to Videogular
1.2.1 to solve your problems.
—
Reply to this email directly or view it on GitHub
https://github.com/2fdevs/videogular/issues/214#issuecomment-102774319.

Great! :)


Golden values for appraisal

This is also resolved by the utilization of the AM Libraries, as the AM library is responsible for being provisioned with a sufficient appraisal ASP to correspond to any measurement ASP.
Closed in ku-sldg/am-cakeml#8 and ku-sldg/am-cakeml#9


Build fails when try to process the bundleconfig.json

Environment

Server - VSTS

Build number: 20180531.2
Task: Build

Agent - Hosted:

Hosted Agent VS2017

Issue Description
The build started failing when it tries to process the bundleconfig.json I can confirm we don't have any changes in that file and previous builds were successful. The build fails at the same point even if I try to rebuild branches where it was successful.
Error logs
Bundler: Begin processing bundleconfig.json
Build FAILED.
....
MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.
Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: ContextID 22 should have been in the ID-to-project file mapping but wasn't!
at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Object[] args)
at Microsoft.Build.BackEnd.Logging.LoggingService.GetAndVerifyProjectFileFromContext(BuildEventContext context)
at Microsoft.Build.BackEnd.Logging.LoggingService.LogBuildEvent(BuildEventArgs buildEvent)
at Microsoft.Build.BackEnd.TaskHost.LogErrorEvent(BuildErrorEventArgs e)
at Microsoft.Build.Utilities.TaskLoggingHelper.LogError(String subcategory, String errorCode, String helpKeyword, String file, Int32 lineNumber, Int32 columnNumber, Int32 endLineNumber, Int32 endColumnNumber, String message, Object[] messageArgs)
at BundlerMinifier.BundlerBuildTask.BundleMinifier_ErrorMinifyingFile(Object sender, MinifyFileEventArgs e)
at BundlerMinifier.BundleMinifier.MinifyBundle(Bundle bundle)
at BundlerMinifier.BundleFileProcessor.ProcessBundle(String baseFolder, Bundle bundle)
at BundlerMinifier.BundleFileProcessor.Process(String fileName, IEnumerable1 bundles)    at BundlerMinifier.BundlerBuildTask.Execute()    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)    at Microsoft.Build.BackEnd.TaskBuilder.InitializeAndExecuteTask(TaskLoggingContext taskLoggingContext, ItemBucket bucket, IDictionary2 taskIdentityParameters, TaskHost taskHost, TaskExecutionMode howToExecuteTask)
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteBucket(TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Dictionary2 lookupHash)    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteTask(TaskExecutionMode mode, Lookup lookup)    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteTask(TargetLoggingContext loggingContext, BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback, ProjectTargetInstanceChild taskInstance, TaskExecutionMode mode, Lookup inferLookup, Lookup executeLookup, CancellationToken cancellationToken)    at Microsoft.Build.BackEnd.TargetEntry.ProcessBucket(ITaskBuilder taskBuilder, TargetLoggingContext targetLoggingContext, TaskExecutionMode mode, Lookup lookupForInference, Lookup lookupForExecution)    at Microsoft.Build.BackEnd.TargetEntry.ExecuteTarget(ITaskBuilder taskBuilder, BuildRequestEntry requestEntry, ProjectLoggingContext projectLoggingContext, CancellationToken cancellationToken)    at Microsoft.Build.BackEnd.TargetBuilder.ProcessTargetStack(ITaskBuilder taskBuilder)    at Microsoft.Build.BackEnd.TargetBuilder.BuildTargets(ProjectLoggingContext loggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, String[] targetNames, Lookup baseLookup, CancellationToken cancellationToken)    at Microsoft.Build.BackEnd.RequestBuilder.BuildProject()    at Microsoft.Build.BackEnd.RequestBuilder.BuildAndReport()    at Microsoft.Build.BackEnd.RequestBuilder.RequestThreadProc(Boolean setThreadParameters) MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: ContextID 22 should have been in the ID-to-project file mapping but wasn't!    at Microsoft.Build.CommandLine.MSBuildApp.BuildProject(String projectFile, String[] targets, String toolsVersion, Dictionary2 globalProperties, Dictionary2 restoreProperties, ILogger[] loggers, LoggerVerbosity verbosity, DistributedLoggerRecord[] distributedLoggerRecords, Int32 cpuCount, Boolean enableNodeReuse, TextWriter preprocessWriter, Boolean detailedSummary, ISet1 warningsAsErrors, ISet1 warningsAsMessages, Boolean enableRestore, ProfilerLogger profilerLogger, Boolean enableProfiler)    at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine) Unhandled Exception: Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: ContextID 22 should have been in the ID-to-project file mapping but wasn't!    at Microsoft.Build.CommandLine.MSBuildApp.BuildProject(String projectFile, String[] targets, String toolsVersion, Dictionary2 globalProperties, Dictionary2 restoreProperties, ILogger[] loggers, LoggerVerbosity verbosity, DistributedLoggerRecord[] distributedLoggerRecords, Int32 cpuCount, Boolean enableNodeReuse, TextWriter preprocessWriter, Boolean detailedSummary, ISet1 warningsAsErrors, ISet`1 warningsAsMessages, Boolean enableRestore, ProfilerLogger profilerLogger, Boolean enableProfiler)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)

This looks like an issue with msbuild / your code.  It looks like the CI system and task ran it and correctly returned the results ...
You might want to log in developer community to follow up with msbuild.  This repo is for the CI tasks.


disabling python.REPL.enableREPLSmartSend doesn't work

Type: Bug

Behaviour
disabling python.REPL.enableREPLSmartSend in settings.json doesn't work. the Shift+Enter keyboard shortcut still activates it
Steps to reproduce:

set python.REPL.enableREPLSmartSend to false in .vscode/settings.json
create a python file with an expression in it, eg:1

put the cursor at the end of the line and hit shift+enter

Diagnostic data

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

2024-08-27 17:03:39.959 [info] Send text to terminal: 1

Extension version: 2024.12.3
VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Windows_NT x64 10.0.22621
Modes:

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

@DetachHead Thanks for filing this issue. Can you check the settings UI and see you turned off the setting for both user and workspace setting?

Also wondering if switching to and from the native REPL changes anything. Let me know how this goes. - Thanks

@DetachHead Thanks for filing this issue. Can you check the settings UI and see you turned off the setting for both user and workspace setting?

yep i disabled it in both:

Also wondering if switching to and from the native REPL changes anything. Let me know how this goes. - Thanks

enabling that does cause it to send it to the native repl instead of the terminal, but it still ignores my python.REPL.enableREPLSmartSend setting

Interesting.. @DetachHead
For me shift+enter in a Python file with the line that contains exactly "1" lets me send 1.
Are you saying you don't want us to send that 1?

unless i'm misunderstanding what python.REPL.enableREPLSmartSend does, i would expect that functionality to be disabled when it's set to false

Shift+enter (without smart send enabled) is meant to send that exact line (and only that line) of code in your Python file, where your cursor is, into a REPL.
For example, shift+enter in Python file with '1' will send 1 to the REPL, just like how official Python REPL (IDLE) will execute '1' when you type 1 and press enter.

Smart send will detect minimum viable executable code (which may extend outside of your cursor), and will send those code to repl.
For example:
line1:  my_dictionary = {
line2:                                'hi': 'hello'
line3:                                'line3': 'hello2'
line4:  }

shift+enter (with smart send enabled) on any of line 1-4 will go ahead and "smartly" run all 4 lines of code (whole dictionary).

ah i see, thanks for the clarification.
i wanted to disable the Shift+Enter shortcut entirely because i find it really annoying and find myself accidentally hitting it all the time. though i guess i can accomplish that by just disabling the keybindings, so i guess this issue can be closed


docs(*): update markdown files and fix typos - I257

Signed-off-by: Michael Zhou<EMAIL_ADDRESS>
Updated markdown files by correcting for incorrect markdown links, integrating existing links into new markdown, and ensuring consistency in markdown style. Also fixes typos, grammar, and punctuation errors in documentation. All tests confirmed to pass.
Changes

Modified markdown to be more appropriate with content of associated links
Fixed typos and miscellaneous errors in punctuation and grammar

Related Issues

Cicero Template Library Issue #257
Pull Request #280

Coverage remained the same at 95.546% when pulling 71352260dac5dbab0dccfe3a1cfb515c2bff25ca on michizhou:michizhou-issue257-markdown-fixes into 1f2a7ac59f1c43c1c404726a68a9445529cc8031 on accordproject:master.


Update CONTRIBUTORS.csv

Added details to CONTRIBUTORS.csv .

@Ritish134 We'll merge this soon.
Thank you for accepting the CLA and taking time to contribute!!
Welcome to the Ockam Community 🥳
If you have questions, as you explore, join us on the contributors discord channel https://discord.gg/bewvnm6zqS


Input modal not appearing when pressing "Enter padding for selection"

Input modal not appearing when pressing "Enter padding for selection".
Sketch v53.2
Selecting a later called "background [...]"

Same issue happening here. Same version of sketch also.

I have the same problem, don't open the dialog box.

Me too. High Sierra 10.13.6 with latest Sketch and Paddy updates.

same thing :(

Same thing happening to me. Any updates on this?

Use this plugin instead, guys.
https://medium.com/sketch-app-sources/introducing-padding-in-sketch-with-anima-d5c884fd9887

Use this plugin instead, guys.
https://medium.com/sketch-app-sources/introducing-padding-in-sketch-with-anima-d5c884fd9887

I had the same issue. this one is solving the same thing in a better way. thanks for sharing

Please use this, its really cool
https://github.com/kenmoore/Sketch-Relabel-Button


Compiler's state gets corrupted: Could not find type constructor '...' while checking types.

With 0.14, I have been getting errors like the following sometimes when recompiling after making small changes to me code.
Error when compiling Outline.Document.Actions:

Could not find type constructor 'App.Command' while checking types.

After deleting the *.elmo and *.elmi files from elm-stuff, compilation succeeds with no problem.  I have seen this happen several times with different modules and type constructors.

I think https://github.com/elm-lang/elm-make/commit/2e3f17798e480df59a668cefb87746dea11ed1e7 and https://github.com/elm-lang/elm-make/commit/d6f4f569d4c48995f2b874c81a1738118430c1c5 should resolve the issues we are seeing here.
If you can build from source, please do and let me know. If you cannot, I'll have installers relatively soon so we can test with that.

Just thought I'd confirm, also getting this error in my top level file (main.elm):
Error in ./src/Character.elm:

Could not find type constructor 'Player.Action' while checking types.

Using the mac installer from the 5th Jan
Using elm-reactor
elm-reactor --version gives 0.2
I have 6 files
./src/character.elm does not use or import Player.Action at all (the file's only 10 lines long)

@evancz If you could confirm here once the installers are updated that would be sweet :)
PS: absolutely loving Elm, thanks for sharing it with the world!

I can build from source, but probably won't have a chance to test it out until Saturday.

@mitchmindtree and @avh4, the installer for Mac is ready. I am working on the Windows one.

:100: :+1:

I had this issue on my project when editing the file src/background/DevicePacket.elm and do not with latest elm-make built from source.
Thanks very much! I think you can safely close this.

Yeah, I haven't seen this come up in a while.  Closing.

Great, thanks for the report!

For anyone else who found this: I got this issue after refactoring. I moved a type into another file and the compiler became very confused. It's easy to work around though: just trash elm-stuff, reinstall packages, and run elm-make again. Not sure if there's any easier way to clear the compiler cache.

I just got this one today on Elm 0.17:
elm make src/Main.elm
[                                                  ] - 0 / 8elm-make: Could not find type constructor `Urls.Page` while checking types.
elm-make: thread blocked indefinitely in an MVar operation

Today got this error too (Elm 0.17.1). It came after deleting some unneeded types in my project. It appears only with elm reactor (with elm make all just fine). I have fixed it by deleting elm-stuff folder and "elm make" it again. Now elm reactor works too.

I believe https://github.com/elm-lang/elm-make/commit/46ec85c0e8dc5f3427bde6e4f212b4f367ecbd07 will fix all this stuff. Once 0.18 comes out, we can revisit this if it comes up again.

I was able to reproduce this,  here is my entire build directory will all files https://github.com/h4ck3rm1k3/steem-graph just run elm-make. Installed on debian sid with nvm v9.
Running strace showed many of these:
32216 --- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_timerid=0, si_overrun=0, si_value={int=0, ptr=NULL}} ---
What I did was install modules via elm-package and then rename them to try and work out conflicts where names conflict
elm-make: Could not find type constructor `SimpleGraph.Node` while checking types.
elm-make: thread blocked indefinitely in an MVar operation


Enable logical operators between sql on

Closing as I think this was meant to be opened on your own fork?


Add support for Audio messages

[X ] I am at the right place and my issue is directly related to ROS#. General technical questions I would post e.g. at ROS Answers or Stack Overflow. For library-specific questions I would look for help in the corresponding library forums.
[ X] I have thoroughly read the Contributing Guideline and writing this issue is the right thing to do in my case.

I have a question!

[X ] I searched the Wiki, open and closed issues for an answer. I tried my best to find the answer by myself without success. I believe that the discussion we will have in this issue, and the solutions we might find, will help me, and likely other community members who have a similar problem.

I have a feature request!
I want to do this:
Receive ROS audio data from my remote robot and play it back in my computer speakers.
For being able to do it, I wish ROS# had the following feature:
Please add support for sending/receiving ROS audio data, to include sample playback C# code.
https://github.com/ros-drivers/audio_common/blob/master/audio_common_msgs/msg/AudioData.msg

Hello @Chambana,
Looking at the AudioData.msg, it seems like data is just an array of bytes which can easily be transferred from ROS to Unity via custom subscriber script on Unity side. To do so, you need to have an equivalent message definition of AudioData.msg on Unity as c# script (please see this wiki page ), and a subscriber script that inherits UnitySubscriber.cs  (please see the list of example subscriber scripts here).
Once you have the audio data transferred from ROS to Unity, it is a matter of choice how you interpret and process the data. I think that the Unity Forum is the best place to find answers at this point.
If you would have a nice way of doing it, you are welcome to share your experiences here.

Hi @Chambana ,
In addition to @berkayalpcakal comments above, I have the following hints that I just found by searching a bit about streaming audio from/to Unity:

For both playing and recording sounds in Unity the builtin class for managing audio data is AudioClip.

Here is a good code example for streaming sounds to Unity with builtin components. In the PCMReaderCallback. In the example some audio data is generated in the PCMReaderCallback, whereas in our case the data is received and buffered by your AudioDataSubscriber implementation of UnitySubscriber and the callback continuously reads from that buffer.

To publish data via ROS# it is best practise to implement a corresponding UnityPublisher class, which I'd name AudioDataPublisher in you case and that continuously recevies the audio data from another another PCMReaderCallback implementation.

If you want to stream data via Microphone from Unity, here is the corresponding builtin Unity class that provides the microphone recordings to AudioClip.

In my comments above I didn't consider the actual audio data formats supported by ROS and Unity. You might need additional converters, and possibly external dependencies. Here is a Unity Asset dedicated to Audio Streaming with Unity.

If we find some simple and generic implementation for sending and receiving audio data from and to ROS that doesn't require additional dependencies, I think it would be some helpful addition to ROS#.

[X ] I am at the right place and my issue is directly related to ROS#. General technical questions I would post e.g. at ROS Answers or Stack Overflow. For library-specific questions I would look for help in the corresponding library forums.
[ X] I have thoroughly read the Contributing Guideline and writing this issue is the right thing to do in my case.

I have a question!

[X ] I searched the Wiki, open and closed issues for an answer. I tried my best to find the answer by myself without success. I believe that the discussion we will have in this issue, and the solutions we might find, will help me, and likely other community members who have a similar problem.

I have a feature request!
I want to do this: Receive ROS audio data from my remote robot and play it back in my computer speakers.
For being able to do it, I wish ROS# had the following feature: Please add support for sending/receiving ROS audio data, to include sample playback C# code. https://github.com/ros-drivers/audio_common/blob/master/audio_common_msgs/msg/AudioData.msg

Hey, have you had any success finding an implementation in Unity for sending and receiving audio to and from ROS?
I have a similar use case.

outdated / closing due to inactivity


Improve usage of CacheKeyPrefix

Why do you need this?

Why do you need this?

Because we have different environments (dev, staging) that share the same Redis cache


[Sui Move] Support shared object deletion

Many shared objects have natural lifetimes (e.g., auctions, escrows). But the current system does not allow for the deletion of shared objects--the entrypoint signature rules will only ever allow the programmer to get a &mut T or a &T reference to a shared object (never a T). This has the effect of prohibiting deletion.
The bottom of https://github.com/MystenLabs/sui/issues/1543 has some discussion on strategies for supporting shared object deletion.

Will this feature be released before the main website is launched, I think it's a great feature


VSCode font issue

How to solve this issue?

VSCode Version 1.33.1 (1.33.1)
OS: macOS Mojave 10.14.4 (18E226)

Maybe try using different font..


Validate the search space to avoid invalided usages

Issue found during investigating: https://github.com/microsoft/nni/issues/1496
@leelaylay checked @LongzeSong's config and find there is one mistake. According to SearchSpaceSpec.md, the range in uniform should be [low, high] instead of  [high, low].
search_space.json
{
-  "learning_rate": {"_type":"uniform","_value":[1e-3,1e-5]}
+  "learning_rate": {"_type":"uniform","_value":[1e-5,1e-3]}
}

Hope this might help you.
Originally posted by @leelaylay in https://github.com/microsoft/nni/issues/1496#issuecomment-525580918

Assign to @liuzhe-lz for engineering estimation and suggestions.

@kvartet - need to test whether this issue exists in the latest version.


Add Simplified Chinese version of the README

All Submissions:

[X] Have you followed the guidelines stated in CONTRIBUTING.md file?
[X] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[X] This change requires a documentation update

New Feature Submission:

[X] Does your submission pass the tests?
[X] Have you linted your code locally prior to submission?

Changes To Core Features:

[X ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ X] Have you successfully ran tests with your changes locally?

After these steps, you're ready to open a pull request.
a. Give a descriptive title to your PR.

b. Describe your changes.

c. Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).

Adds Simplified Chinese version of the README

Happy to see that a zh_CN version of README will be avaliable soon. I made some comment and let us work together to improve the translate quality.

Does this supersede #1210? i.e. can we close #1210 now that this is merged?


pythonPackages.finvizfinance: init at 0.14.5

Description of changes

New package https://github.com/lit26/finvizfinance
finvizfinance is a package which collects financial information from FinViz website
PR for required datetime package: https://github.com/NixOS/nixpkgs/pull/215393.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

@natsukium If you're able / when you get a chance, can you CR this?

Not sure who's the right person here, pinging @mweinelt since i saw you commit some python-related things recently... Let me know if I should ping someone else if you know.

Not interested in investing time into anything related to cryptocoins.

Not interested in investing time into anything related to cryptocoins.

Thanks for clarifying. Note this is a generic financing data fetching library and while there's apparently support for crypto it's not crypto specific. E.g. the readme has a lot of focus on common stocks.

Result of nixpkgs-review pr 215395 run on x86_64-linux 1

4 packages built:

python310Packages.finvizfinance
python310Packages.finvizfinance.dist
python311Packages.finvizfinance
python311Packages.finvizfinance.dist

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2201

@ofborg build python310Packages.finvizfinance


🐛 BUG: You are not entitled to use r2. [code: 10042]

What version of Wrangler are you using?
2.0.6
What operating system are you using?
Mac
Describe the Bug
I signed up to test R2. But I can't test R2 Because of I got this message 'You are not entitled to use r2. [code: 10042]'

Please fix this problem.
Thank you!

Hi @Yoo-DongGyun - please could you provide some more information about how you are authenticating?
Are you using the OAuth login approach (e.g. using wrangler login) or are you using a CLOUDFLARE_API_TOKEN?
Does the authenticated user definitely have access to the R2 feature? Can you login via the same user and see the R2 functionality in the Cloudflare dashboard?

Hi @petebacondarwin, I am sorry for the late your reply.
I've had problems with both of them.
First picture is what happend in OAuth login and Second picture is Cloudflare what happend in Cloudflare dashboard too.
I can use another Cloudflare service, but I can't use only R2 service because of message
Thank you for answering my question and i will appreciate it., if you can check it again.

I have asked in the R2 team to find out more about what might be wrong here.
Do you have a paid support arrangement with Cloudflare? You might be able to get a more direct response through your customer support agent? Alternatively, there might be someone on the Cloudflare discord that can look into this for you?

Closing for now, since this is not specifically a bug with Wrangler. Apparently there may have been some propagation issues with auth. Please try again and come back if it's still a problem.


Failed to load Application Version

Hello.  Thanks for your work on this.  I am getting an error 'Failed to load Application version' after tracing is initialised.  From a quick dig into this, it seems like the _appPrefix needs one further '../' to find the package.json file that it is looking for.
Happy to submit a PR if it is helpful and assuming correct diagnosis!
https://github.com/microsoft/opentelemetry-azure-monitor-js/blob/6c10145e8db5d532f1582d8476d0802d7246c713/packages/azure-opentelemetry-exporter/src/platform/nodejs/context/context.ts#L29
https://github.com/microsoft/opentelemetry-azure-monitor-js/blob/6c10145e8db5d532f1582d8476d0802d7246c713/packages/azure-opentelemetry-exporter/src/platform/nodejs/context/context.ts#L43

Hi @matt-paul yes the extra '../' seems to be necessary here. I think the change here should be trying to read two different paths, one for ts-node and the other for node. It is currently set up to read pathing for ts-node (and ts-mocha), which is not ideal for actual production environments!

Hello again.  Thanks for looking at this issue so quickly, I really appreciate it.  Unfortunately 'preview3' results in a similar error.  Logging the two paths for the package.json now shows the following.

oh looks like I forgot to account for the scoped @azure/ folder name :/


osascript not found

Before submitting a Setup Your Mac bug report, please review the open swiftDialog issues to help determine the source of the issue.

Describe the bug
When setting the command osascript -e 'tell app "loginwindow" to «event aevtrrst»' as action for https://github.com/dan-snelson/dialog-scripts/blob/main/Display Message/Display-Message-via-Dialog.bash users gets an error "The file /usr/bin/osascript -e 'tell app loginwindow to «event aevtrrst»' does not exist."
To Reproduce
place an osascript command into action
Expected behavior
the restart window should appear
Code/log output

###
# Display Message via swiftDialog (0.0.9)
###

2023-10-25 14:15:01 - PRE-FLIGHT CHECK: Initiating …
2023-10-25 14:15:01 - PRE-FLIGHT CHECK: macOS 14 installed; proceeding ...
2023-10-25 14:15:01 - PRE-FLIGHT CHECK: swiftDialog version <IP_ADDRESS>26 found; proceeding...
2023-10-25 14:15:01 - Both "title" and "message" Parameters are populated; proceeding ...
2023-10-25 14:15:01 - Title: Restart Required
2023-10-25 14:15:01 - Message:
2023-10-25 14:15:01 - Extra Flags: --width 300 --height 600  --messagefont size=16  --position topright  --ontop  --messagealignment centre  --messageposition centre  --centericon
2023-10-25 14:15:04 - Return Code: 0
meckerle clicked Restart
2023-10-25 14:15:04 - meckerle clicked Restart;
The file /usr/bin/osascript -e 'tell app loginwindow to «event aevtrrst»' does not exist.
2023-10-25 14:15:04 - Quitting …
2023-10-25 14:15:05 - Exiting …
2023-10-25 14:15:05 - Removing /var/tmp/dialogWelcomeLog.EQJ …
2023-10-25 14:15:05 - Removing /var/tmp/overlayicon.icns …
2023-10-25 14:15:05 - Goodbye!

Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS version (i.e., 13.1)
os 14

Additional context
Add any other context about the problem here.

Please take a look at Forced and Dismissible Log Out, Restart or Shut Down Prompts; closing as "not planned."


Add support of const fused type memory views

This PR is related to #1772 and is an attempt at supporting const fused type memory views such as:
cimport cython
def sum(const cython.floating[:] array):
    cdef cython.floating sum = 0
    for v in array:
        sum += v
    return sum

Cython internals are new to me, so I don't know how far this is from a proper solution, but it's working fine from what I tested.
Let me know if it is worth spending more time on it and what can be improved.
One remark: In case of function signature like def test(const cython.floating[:] a, cython.foating[:] b) and mismatching input floating types, the exception is:
TypeError: No matching signature found
while without const it is: ValueError: Buffer dtype mismatch, expected 'float' but got 'double'

PR updated to use CConstOrVolatileType: change is now a single line.
More tests still need to be added.

Change looks perfect, but yes, more tests for const usage with (non-memoryview) fused types are needed. I can't currently find the word const anywhere in fused_types.pyx (probably because it came in later as a feature), so the combination of both features is very much undertested.

Added a few tests of const fused types usage without memory view.
Tell me if other use cases of const (and which one?) needs to be tested.

Thanks!