unable to kick off the sagemaker job

Deployed the sample mnist training job but seems its not getting invoked on the SageMaker
kubectl describe TrainingJob
Name:         xgboost-mnist
Namespace:    default
Labels:       <none>
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
                {"apiVersion":"sagemaker.aws.amazon.com/v1","kind":"TrainingJob","metadata":{"annotations":{},"name":"xgboost-mnist","namespace":"default"...
API Version:  sagemaker.aws.amazon.com/v1
Kind:         TrainingJob
Metadata:
  Creation Timestamp:  2020-03-09T06:58:17Z
  Generation:          1
  Resource Version:    117181
  Self Link:           /apis/sagemaker.aws.amazon.com/v1/namespaces/default/trainingjobs/xgboost-mnist
  UID:                 5a907178-61d3-11ea-b461-02efd6507006
Spec:
  Algorithm Specification:
    Training Image:<PHONE_NUMBER>19.dkr.ecr.us-east-2.amazonaws.com/xgboost:latest
    Training Input Mode:  File
  Hyper Parameters:
    Name:   max_depth
    Value:  5
    Name:   eta
    Value:  0.2
    Name:   gamma
    Value:  4
    Name:   min_child_weight
    Value:  6
    Name:   silent
    Value:  0
    Name:   objective
    Value:  multi:softmax
    Name:   num_class
    Value:  10
    Name:   num_round
    Value:  10
  Input Data Config:
    Channel Name:      train
    Compression Type:  None
    Content Type:      text/csv
    Data Source:
      S 3 Data Source:
        S 3 Data Distribution Type:  FullyReplicated
        S 3 Data Type:               S3Prefix
        S 3 Uri:                     s3://<MY-BUCKET>/xgboost-mnist/train/
    Channel Name:                    validation
    Compression Type:                None
    Content Type:                    text/csv
    Data Source:
      S 3 Data Source:
        S 3 Data Distribution Type:  FullyReplicated
        S 3 Data Type:               S3Prefix
        S 3 Uri:                     s3://<MY-BUCKET>/xgboost-mnist/validation/
  Output Data Config:
    S 3 Output Path:  s3://<MY-BUCKET>/xgboost-mnist/models/
  Region:             us-east-2
  Resource Config:
    Instance Count:     1
    Instance Type:      ml.m4.xlarge
    Volume Size In GB:  5
  Role Arn:             arn:aws:iam::<ACCOUNT>:role/sagemaker_execution_role
  Stopping Condition:
    Max Runtime In Seconds:  86400```

@charlesa101  Thanks for trying out. I am assuming you have replaced input, output buckets and role Arn.
Would you please run the following command provide the output ?
kubectl  get trainingjobs xgboost-mnist
kubectl describe trainingjob xgboost-mnist

@gautamkmr, here you go thank you! yeah i have my own bucket and sagemaker executor role
NAME            STATUS   SECONDARY-STATUS   CREATION-TIME          SAGEMAKER-JOB-NAME
xgboost-mnist                               2020-03-09T16:51:08Z ```

```kubectl describe TrainingJob
Name:         xgboost-mnist
Namespace:    default
Labels:       <none>
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
                {"apiVersion":"sagemaker.aws.amazon.com/v1","kind":"TrainingJob","metadata":{"annotations":{},"name":"xgboost-mnist","namespace":"default"...
API Version:  sagemaker.aws.amazon.com/v1
Kind:         TrainingJob
Metadata:
  Creation Timestamp:  2020-03-09T06:58:17Z
  Generation:          1
  Resource Version:    117181
  Self Link:           /apis/sagemaker.aws.amazon.com/v1/namespaces/default/trainingjobs/xgboost-mnist
  UID:                 5a907178-61d3-11ea-b461-02efd6507006
Spec:
  Algorithm Specification:
    Training Image:<PHONE_NUMBER>19.dkr.ecr.us-east-2.amazonaws.com/xgboost:latest
    Training Input Mode:  File
  Hyper Parameters:
    Name:   max_depth
    Value:  5
    Name:   eta
    Value:  0.2
    Name:   gamma
    Value:  4
    Name:   min_child_weight
    Value:  6
    Name:   silent
    Value:  0
    Name:   objective
    Value:  multi:softmax
    Name:   num_class
    Value:  10
    Name:   num_round
    Value:  10
  Input Data Config:
    Channel Name:      train
    Compression Type:  None
    Content Type:      text/csv
    Data Source:
      S 3 Data Source:
        S 3 Data Distribution Type:  FullyReplicated
        S 3 Data Type:               S3Prefix
        S 3 Uri:                     s3://<MY-BUCKET>/xgboost-mnist/train/
    Channel Name:                    validation
    Compression Type:                None
    Content Type:                    text/csv
    Data Source:
      S 3 Data Source:
        S 3 Data Distribution Type:  FullyReplicated
        S 3 Data Type:               S3Prefix
        S 3 Uri:                     s3://<MY-BUCKET>/xgboost-mnist/validation/
  Output Data Config:
    S 3 Output Path:  s3://<MY-BUCKET>/xgboost-mnist/models/
  Region:             us-east-2
  Resource Config:
    Instance Count:     1
    Instance Type:      ml.m4.xlarge
    Volume Size In GB:  5
  Role Arn:             arn:aws:iam::<ACCOUNT>:role/sagemaker_execution_role
  Stopping Condition:
    Max Runtime In Seconds:  86400```

@charlesa101  Thanks for providing the output. It appears that operator is not running successfully on your k8s cluster.  you can verify that
 kubectl get pods -A | grep -i sagemaker

You can follow steps from here to install the operator, let us know if you face any issue.

yeah that's what i noticed as well now
NAME                                                         READY   STATUS    RESTARTS   AGE
sagemaker-k8s-operator-controller-manager-5858fd7b8d-h89s8   0/2     Pending   0          24h```

Name:               sagemaker-k8s-operator-controller-manager-5858fd7b8d-h89s8
Namespace:          sagemaker-k8s-operator-system
Priority:           0
PriorityClassName:  <none>
Node:               <none>
Labels:             control-plane=controller-manager
                    pod-template-hash=5858fd7b8d
Annotations:        kubernetes.io/psp: eks.privileged
Status:             Pending
IP:
Controlled By:      ReplicaSet/sagemaker-k8s-operator-controller-manager-5858fd7b8d
Containers:
  kube-rbac-proxy:
    Image:      gcr.io/kubebuilder/kube-rbac-proxy:v0.4.0
    Port:       8443/TCP
    Host Port:  0/TCP
    Args:
      --secure-listen-address=<IP_ADDRESS>:8443
      --upstream=http://<IP_ADDRESS>:8080/
      --logtostderr=true
      --v=10
    Environment:
      AWS_ROLE_ARN:                 arn:aws:iam::123456789012:role/DELETE_ME
      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 sagemaker-k8s-operator-default-token-rwdkn (ro)
  manager:
    Image:<PHONE_NUMBER>62.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s:v1
    Port:       <none>
    Host Port:  <none>
    Command:
      /manager
    Args:
      --metrics-addr=<IP_ADDRESS>:8080
    Limits:
      cpu:     100m
      memory:  30Mi
    Requests:
      cpu:     100m
      memory:  20Mi
    Environment:
      AWS_DEFAULT_SAGEMAKER_ENDPOINT:
      AWS_ROLE_ARN:                    arn:aws:iam::123456789012:role/DELETE_ME
      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 sagemaker-k8s-operator-default-token-rwdkn (ro)
Conditions:
  Type           Status
  PodScheduled   False
Volumes:
  aws-iam-token:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  86400
  sagemaker-k8s-operator-default-token-rwdkn:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  sagemaker-k8s-operator-default-token-rwdkn
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason            Age                   From               Message
  ----     ------            ----                  ----               -------
  Warning  FailedScheduling  64s (x1378 over 34h)  default-scheduler  no nodes available to schedule pods

my eks/ecr is on us-east2, but it seems all the crd artifacts are coming from us-east1 could that be the issue?

EKS can pull the image from other region too. I think in your case it seems that you don't have any worker node associated to cluster?  At least thats what below message says.
  Warning  FailedScheduling  64s (x1378 over 34h)  default-scheduler  no nodes available to schedule pods

Can you run ?
kubectl get node

@charlesa101  did you get chance to review it again?

NAME                                           STATUS   ROLES    AGE     VERSION
ip-172-16-116-51.us-east-2.compute.internal    Ready    <none>   5h47m   v1.14.8-eks-b8860f
ip-172-16-121-255.us-east-2.compute.internal   Ready    <none>   5h47m   v1.14.8-eks-b8860f
ip-172-16-137-197.us-east-2.compute.internal   Ready    <none>   5h47m   v1.14.8-eks-b8860f

yeah i did, recreated the cluster again but still the same issue

@charlesa101   In previous describe output of pod it appears that cluster did not have any worker nodes available (no nodes available to schedule pods).
But based on recent output it appears that you have three worker nodes available.

NAME                                           STATUS   ROLES    AGE     VERSION
ip-172-16-116-51.us-east-2.compute.internal    Ready       5h47m   v1.14.8-eks-b8860f
ip-172-16-121-255.us-east-2.compute.internal   Ready       5h47m   v1.14.8-eks-b8860f
ip-172-16-137-197.us-east-2.compute.internal   Ready       5h47m   v1.14.8-eks-b8860f

Could you please describe each of these nodes and operator pod ?
# Describe nodes , assuming the names of nodes are same as you mentioned in previous comment.
kubectl describe node ip-172-16-116-51.us-east-2.compute.internal
kubectl describe node ip-172-16-121-255.us-east-2.compute.internal
kubectl describe node ip-172-16-137-197.us-east-2.compute.internal

#Get the operator pod name
kubectl get pods -A | grep -i sagemaker
kubectl describe pod <put the pod name here>  -n sagemaker-k8s-operator-system

If operator has been deployed successfully and if trainingjob is still not yet running please attach the out put of describe trainingjob as well ?
kubectl describe trainingjob xgboost-mnist

i tried to look checked the operator pod, here is  the log @gautamkmr
kubectl logs -f sagemaker-k8s-operator-controller-manager-5858fd7b8d-2dk5c  -n sagemaker-k8s-operator-system manager
2020-03-15T18:09:13.864Z        INFO    controller-runtime.metrics      metrics server is starting to listen    {"addr": "<IP_ADDRESS>:8080"}
2020-03-15T18:09:13.865Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "trainingjob", "source": "kind source: /, Kind="}
2020-03-15T18:09:13.865Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "hyperparametertuningjob", "source": "kind source: /, Kind="}
2020-03-15T18:09:13.865Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "hostingdeployment", "source": "kind source: /, Kind="}
2020-03-15T18:09:13.866Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "model", "source": "kind source: /, Kind="}
2020-03-15T18:09:13.866Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "endpointconfig", "source": "kind source: /, Kind="}
2020-03-15T18:09:13.866Z        INFO    controller-runtime.controller   Starting EventSource    {"controller": "batchtransformjob", "source": "kind source: /, Kind="}
2020-03-15T18:09:13.866Z        INFO    setup   starting manager
2020-03-15T18:09:13.866Z        INFO    controller-runtime.manager      starting metrics server {"path": "/metrics"}
2020-03-15T18:09:14.066Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "trainingjob"}
2020-03-15T18:09:14.066Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "model"}
2020-03-15T18:09:14.067Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "batchtransformjob"}
2020-03-15T18:09:14.067Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "hostingdeployment"}
2020-03-15T18:09:14.066Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "endpointconfig"}
2020-03-15T18:09:14.067Z        INFO    controller-runtime.controller   Starting Controller     {"controller": "hyperparametertuningjob"}
2020-03-15T18:09:14.167Z        INFO    controller-runtime.controller   Starting workers        {"controller": "trainingjob", "worker count": 1}
2020-03-15T18:09:14.167Z        INFO    controller-runtime.controller   Starting workers        {"controller": "model", "worker count": 1}
2020-03-15T18:09:14.167Z        INFO    controller-runtime.controller   Starting workers        {"controller": "endpointconfig", "worker count": 1}
2020-03-15T18:09:14.167Z        INFO    controller-runtime.controller   Starting workers        {"controller": "batchtransformjob", "worker count": 1}
2020-03-15T18:09:14.167Z        INFO    controller-runtime.controller   Starting workers        {"controller": "hostingdeployment", "worker count": 1}
2020-03-15T18:09:14.167Z        INFO    controller-runtime.controller   Starting workers        {"controller": "hyperparametertuningjob", "worker count": 1}
2020-03-15T19:09:19.962Z        INFO    controllers.TrainingJob Getting resource        {"trainingjob": "default/xgboost-mnist"}
2020-03-15T19:09:19.962Z        INFO    controllers.TrainingJob Job status is empty, setting to intermediate status     {"trainingjob": "default/xgboost-mnist", "status": "SynchronizingK8sJobWithSageMaker"}
2020-03-15T19:09:19.963Z        INFO    controllers.TrainingJob Updating job status     {"trainingjob": "default/xgboost-mnist", "new-status": {"trainingJobStatus":"SynchronizingK8sJobWithSageMaker","lastCheckTime":"2020-03-15T19:09:19Z"}}
2020-03-15T19:09:19.976Z        INFO    controllers.TrainingJob Getting resource        {"trainingjob": "default/xgboost-mnist"}
2020-03-15T19:09:19.976Z        INFO    controllers.TrainingJob Adding generated name to spec   {"trainingjob": "default/xgboost-mnist", "new-name": "xgboost-mnist-792eb47166f011ea88d202c3652bf444"}
2020-03-15T19:09:19.982Z        DEBUG   controller-runtime.controller   Successfully Reconciled {"controller": "trainingjob", "request": "default/xgboost-mnist"}
2020-03-15T19:09:19.983Z        INFO    controllers.TrainingJob Getting resource        {"trainingjob": "default/xgboost-mnist"}
2020-03-15T19:09:19.983Z        INFO    controllers.TrainingJob Loaded AWS config       {"trainingjob": "default/xgboost-mnist", "training-job-name": "xgboost-mnist-792eb47166f011ea88d202c3652bf444", "aws-region": "us-east-2"}
2020-03-15T19:09:19.983Z        INFO    controllers.TrainingJob Calling SM API DescribeTrainingJob      {"trainingjob": "default/xgboost-mnist", "training-job-name": "xgboost-mnist-792eb47166f011ea88d202c3652bf444", "aws-region": "us-east-2"}
2020-03-15T19:09:20.916Z        ERROR   controllers.TrainingJob.handleSageMakerApiError Handling unrecoverable sagemaker API error      {"trainingjob": "default/xgboost-mnist", "training-job-name": "xgboost-mnist-792eb47166f011ea88d202c3652bf444", "aws-region": "us-east-2", "error": "UnrecognizedClientException: The security token included in the request is invalid.\n\tstatus code: 400, request id: 01ea5be5-6bd5-4bae-b79e-2bc8d86338ee"}
github.com/go-logr/zapr.(*zapLogger).Error
        /go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
go.amzn.com/sagemaker/sagemaker-k8s-operator/controllers/trainingjob.(*TrainingJobReconciler).handleSageMakerApiError
        /workspace/controllers/trainingjob/trainingjob_controller.go:396
go.amzn.com/sagemaker/sagemaker-k8s-operator/controllers/trainingjob.(*TrainingJobReconciler).Reconcile
        /workspace/controllers/trainingjob/trainingjob_controller.go:172
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:216
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:192
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:171
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
        /go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190404173353-6a84e37a896d/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
        /go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190404173353-6a84e37a896d/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
        /go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190404173353-6a84e37a896d/pkg/util/wait/wait.go:88
2020-03-15T19:09:20.916Z        INFO    controllers.TrainingJob.handleSageMakerApiError Updating job status     {"trainingjob": "default/xgboost-mnist", "training-job-name": "xgboost-mnist-792eb47166f011ea88d202c3652bf444", "aws-region": "us-east-2", "new-status": {"trainingJobStatus":"Failed","additional":"UnrecognizedClientException: The security token included in the request is invalid.\n\tstatus code: 400, request id: 01ea5be5-6bd5-4bae-b79e-2bc8d86338ee","lastCheckTime":"2020-03-15T19:09:20Z","cloudWatchLogUrl":"https://us-east-2.console.aws.amazon.com/cloudwatch/home?region=us-east-2#logStream:group=/aws/sagemaker/TrainingJobs;prefix=xgboost-mnist-792eb47166f011ea88d202c3652bf444;streamFilter=typeLogStreamPrefix","sageMakerTrainingJobName":"xgboost-mnist-792eb47166f011ea88d202c3652bf444"}}
2020-03-15T19:09:20.924Z        DEBUG   controller-runtime.controller   Successfully Reconciled {"controller": "trainingjob", "request": "default/xgboost-mnist"}
2020-03-15T19:11:41.623Z        INFO    controllers.TrainingJob Getting resource        {"trainingjob": "default/xgboost-mnist"}
2020-03-15T19:11:41.623Z        INFO    controllers.TrainingJob Loaded AWS config       {"trainingjob": "default/xgboost-mnist", "training-job-name": "xgboost-mnist-792eb47166f011ea88d202c3652bf444", "aws-region": "us-east-2"}
2020-03-15T19:11:41.623Z        INFO    controllers.TrainingJob Calling SM API DescribeTrainingJob      {"trainingjob": "default/xgboost-mnist", "training-job-name": "xgboost-mnist-792eb47166f011ea88d202c3652bf444", "aws-region": "us-east-2"}
2020-03-15T19:11:42.150Z        ERROR   controllers.TrainingJob.handleSageMakerApiError Handling unrecoverable sagemaker API error      {"trainingjob": "default/xgboost-mnist", "training-job-name": "xgboost-mnist-792eb47166f011ea88d202c3652bf444", "aws-region": "us-east-2", "error": "UnrecognizedClientException: The security token included in the request is invalid.\n\tstatus code: 400, request id: 7145c885-b685-4663-8dd3-6c212ce574b2"}
github.com/go-logr/zapr.(*zapLogger).Error
        /go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
go.amzn.com/sagemaker/sagemaker-k8s-operator/controllers/trainingjob.(*TrainingJobReconciler).handleSageMakerApiError
        /workspace/controllers/trainingjob/trainingjob_controller.go:396
go.amzn.com/sagemaker/sagemaker-k8s-operator/controllers/trainingjob.(*TrainingJobReconciler).Reconcile
        /workspace/controllers/trainingjob/trainingjob_controller.go:172
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:216
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:192
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:171
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
        /go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190404173353-6a84e37a896d/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
        /go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190404173353-6a84e37a896d/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
        /go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190404173353-6a84e37a896d/pkg/util/wait/wait.go:88
2020-03-15T19:11:42.150Z        INFO    controllers.TrainingJob.handleSageMakerApiError Updating job status     {"trainingjob": "default/xgboost-mnist", "training-job-name": "xgboost-mnist-792eb47166f011ea88d202c3652bf444", "aws-region": "us-east-2", "new-status": {"trainingJobStatus":"Failed","additional":"UnrecognizedClientException: The security token included in the request is invalid.\n\tstatus code: 400, request id: 7145c885-b685-4663-8dd3-6c212ce574b2","lastCheckTime":"2020-03-15T19:11:42Z","cloudWatchLogUrl":"https://us-east-2.console.aws.amazon.com/cloudwatch/home?region=us-east-2#logStream:group=/aws/sagemaker/TrainingJobs;prefix=xgboost-mnist-792eb47166f011ea88d202c3652bf444;streamFilter=typeLogStreamPrefix","sageMakerTrainingJobName":"xgboost-mnist-792eb47166f011ea88d202c3652bf444"}}
2020-03-15T19:11:42.159Z        DEBUG   controller-runtime.controller   Successfully Reconciled {"controller": "trainingjob", "request": "default/xgboost-mnist"}

@charlesa101  Thanks for sharing the log. You are on right track. I think the issue now is operator pod is unable to retrieve credentials from IAM service to talk to sagemaker.
"error": "UnrecognizedClientException: The security token included in the request is invalid.\n
Could you please check your trust.json basically trust policy have three places to update cluster region and OIDC ID and one place to add your AWS account number.

Hi @charlesa101
Closing this issue since there has been no activity in 90 days. Please re-open if you still need help
Thanks

Hi, I'm having the exact same issue except that my pod is running fine. I setup my k8s cluster using terraform with 1 master node and 1 worker node. When I submit the trainingjob, there is no status or job name or anything else. I tried all the commands above and it looks like the scheduler was able to assign the pods to the worker node. Any help would be appreciated! Please see outputs for commands below:
ubuntu@ip-172-31-35-229:/imvaria/repos/model-training$ kubectl get pods -A
NAMESPACE        NAME                                                         READY   STATUS    RESTARTS   AGE
kube-system      aws-node-67tgx                                               1/1     Running   0          2d18h
kube-system      aws-node-k2q7z                                               1/1     Running   0          2d18h
kube-system      coredns-85d5b4454c-cwfvj                                     1/1     Running   0          2d18h
kube-system      coredns-85d5b4454c-x5ld9                                     1/1     Running   0          2d18h
kube-system      kube-proxy-54vm5                                             1/1     Running   0          2d18h
kube-system      kube-proxy-r8j7j                                             1/1     Running   0          2d18h
kube-system      metrics-server-64cf6869bd-6nppx                              1/1     Running   0          2d18h
sagemaker-jobs   sagemaker-k8s-operator-controller-manager-855f498957-fhkvv   2/2     Running   0          2d18h
ubuntu@ip-172-31-35-229:/imvaria/repos/model-training$ kubectl describe pod sagemaker-k8s-operator-controller-manager-855f498957-fhkvv -n sagemaker-jobs
Name:         sagemaker-k8s-operator-controller-manager-855f498957-fhkvv
Namespace:    sagemaker-jobs
Priority:     0
Node:         ip-10-0-1-245.us-west-2.compute.internal/<IP_ADDRESS>
Start Time:   Fri, 24 Jun 2022 22:26:03 +0000
Labels:       control-plane=controller-manager
              pod-template-hash=855f498957
Annotations:  kubernetes.io/psp: eks.privileged
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/sagemaker-k8s-operator-controller-manager-855f498957
Containers:
  manager:
    Container ID:  docker://d8fc52b3e20a050999d3f24ab914f1d865a84a168a8b038f3fa81ce59cccbced
    Image:<PHONE_NUMBER>62.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s:v1
    Image ID:      docker-pullable://957583890962.dkr.ecr.us-east-1.amazonaws.com/amazon-sagemaker-operator-for-k8s@sha256:94ffbba68954249b1724fdb43f1e8ab13547114555b4a217849687d566191e23
    Port:          <none>
    Host Port:     <none>
    Command:
      /manager
    Args:
      --metrics-addr=<IP_ADDRESS>:8080
      --namespace=sagemaker-jobs
    State:          Running
      Started:      Fri, 24 Jun 2022 22:26:09 +0000
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     100m
      memory:  30Mi
    Requests:
      cpu:     100m
      memory:  20Mi
    Environment:
      AWS_DEFAULT_SAGEMAKER_ENDPOINT:
      AWS_DEFAULT_REGION:              us-west-2
      AWS_REGION:                      us-west-2
      AWS_ROLE_ARN:                    arn:aws:iam::438029713005:role/model-training-sagemaker-role20220624222338450100000009
      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-6j8rt (ro)
kube-rbac-proxy:
    Container ID:  docker://4ecdaa395fdc70d5cead609465dbf21f6e11771a80ad5db0a6125053ab08b9d3
    Image:         gcr.io/kubebuilder/kube-rbac-proxy:v0.4.0
    Image ID:      docker-pullable://gcr.io/kubebuilder/kube-rbac-proxy@sha256:297896d96b827bbcb1abd696da1b2d81cab88359ac34cce0e8281f266b4e08de
    Port:          8443/TCP
    Host Port:     0/TCP
    Args:
      --secure-listen-address=<IP_ADDRESS>:8443
      --upstream=http://<IP_ADDRESS>:8080/
      --logtostderr=true
      --v=10
    State:          Running
      Started:      Fri, 24 Jun 2022 22:26:11 +0000
    Ready:          True
    Restart Count:  0
    Environment:
      AWS_DEFAULT_REGION:           us-west-2
      AWS_REGION:                   us-west-2
      AWS_ROLE_ARN:                 arn:aws:iam::438029713005:role/model-training-sagemaker-role20220624222338450100000009
      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-6j8rt (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-6j8rt:
    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:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:                      <none>

ubuntu@ip-172-31-35-229:/imvaria/repos/model-training$ kubectl logs sagemaker-k8s-operator-controller-manager-855f498957-fhkvv manager -n sagemaker-jobs
I0624 22:26:11.339445       1 request.go:621] Throttling request took 1.046981399s, request: GET:https://<IP_ADDRESS>:443/apis/extensions/v1beta1?timeout=32s
2022-06-24T22:26:12.443Z        INFO    controller-runtime.metrics      metrics server is starting to listen    {"addr": "<IP_ADDRESS>:8080"}
2022-06-24T22:26:12.443Z        INFO    Starting manager in the namespace:      sagemaker-jobs
2022-06-24T22:26:12.443Z        INFO    setup   starting manager
2022-06-24T22:26:12.444Z        INFO    controller-runtime.manager      starting metrics server {"path": "/metrics"}
2022-06-24T22:26:12.444Z        INFO    controller      Starting EventSource    {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "EndpointConfig", "controller": "endpointconfig", "source": "kind source: /, Kind="}
2022-06-24T22:26:12.444Z        INFO    controller      Starting EventSource    {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "BatchTransformJob", "controller": "batchtransformjob", "source": "kind source: /, Kind="}
2022-06-24T22:26:12.445Z        INFO    controller      Starting EventSource    {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "HostingAutoscalingPolicy", "controller": "hostingautoscalingpolicy", "source": "kind source: /, Kind="}
2022-06-24T22:26:12.444Z        INFO    controller      Starting EventSource    {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "Model", "controller": "model", "source": "kind source: /, Kind="}
2022-06-24T22:26:12.444Z        INFO    controller      Starting EventSource    {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "TrainingJob", "controller": "trainingjob", "source": "kind source: /, Kind="}
2022-06-24T22:26:12.445Z        INFO    controller      Starting EventSource    {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "ProcessingJob", "controller": "processingjob", "source": "kind source: /, Kind="}
2022-06-24T22:26:12.446Z        INFO    controller      Starting EventSource    {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "HyperparameterTuningJob", "controller": "hyperparametertuningjob", "source": "kind source: /, Kind="}
2022-06-24T22:26:12.446Z        INFO    controller      Starting EventSource    {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "HostingDeployment", "controller": "hostingdeployment", "source": "kind source: /, Kind="}
2022-06-24T22:26:12.665Z        INFO    controller      Starting Controller     {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "Model", "controller": "model"}
2022-06-24T22:26:12.666Z        INFO    controller      Starting Controller     {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "HostingAutoscalingPolicy", "controller": "hostingautoscalingpolicy"}
2022-06-24T22:26:12.666Z        INFO    controller      Starting Controller     {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "EndpointConfig", "controller": "endpointconfig"}
2022-06-24T22:26:12.666Z        INFO    controller      Starting Controller     {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "BatchTransformJob", "controller": "batchtransformjob"}
2022-06-24T22:26:12.666Z        INFO    controller      Starting Controller     {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "ProcessingJob", "controller": "processingjob"}
2022-06-24T22:26:12.666Z        INFO    controller      Starting Controller     {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "HyperparameterTuningJob", "controller": "hyperparametertuningjob"}
2022-06-24T22:26:12.666Z        INFO    controller      Starting Controller     {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "TrainingJob", "controller": "trainingjob"}
2022-06-24T22:26:12.746Z        INFO    controller      Starting Controller     {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "HostingDeployment", "controller": "hostingdeployment"}
2022-06-24T22:26:12.747Z        INFO    controller      Starting workers        {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "HostingDeployment", "controller": "hostingdeployment", "worker count": 1}
2022-06-24T22:26:12.766Z        INFO    controller      Starting workers        {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "Model", "controller": "model", "worker count": 1}
2022-06-24T22:26:12.766Z        INFO    controller      Starting workers        {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "EndpointConfig", "controller": "endpointconfig", "worker count": 1}
2022-06-24T22:26:12.766Z        INFO    controller      Starting workers        {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "HostingAutoscalingPolicy", "controller": "hostingautoscalingpolicy", "worker count": 1}
2022-06-24T22:26:12.766Z        INFO    controller      Starting workers        {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "ProcessingJob", "controller": "processingjob", "worker count": 1}
2022-06-24T22:26:12.766Z        INFO    controller      Starting workers        {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "BatchTransformJob", "controller": "batchtransformjob", "worker count": 1}
2022-06-24T22:26:12.766Z        INFO    controller      Starting workers        {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "TrainingJob", "controller": "trainingjob", "worker count": 1}
2022-06-24T22:26:12.766Z        INFO    controller      Starting workers        {"reconcilerGroup": "sagemaker.aws.amazon.com", "reconcilerKind": "HyperparameterTuningJob", "controller": "hyperparametertuningjob", "worker count": 1}

ubuntu@ip-172-31-35-229:/imvaria/repos/model-training$ kubectl get trainingjobs
NAME            STATUS   SECONDARY-STATUS   CREATION-TIME          SAGEMAKER-JOB-NAME
osic-test-run                               2022-06-24T22:38:13Z

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.aws.amazon.com/v1
Kind:         TrainingJob
Metadata:
  Creation Timestamp:  2022-06-24T22:38:13Z
  Generation:          1
  Managed Fields:
    API Version:  sagemaker.aws.amazon.com/v1
    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:region:
        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-06-24T22:38:13Z
  Resource Version:  3182
  UID:               0a0880c0-baf9-4f1a-8aa3-37480520c3e2
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:  FullyReplicated
        s3DataType:              S3Prefix
        s3Uri:                   s3://osic-full-including-override
  Output Data Config:
    s3OutputPath:  s3://osic-full-including-override/experiments
  Region:          us-west-2
  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-role20220624222338450100000009
  Stopping Condition:
    Max Runtime In Seconds:  900
  Training Job Name:         osic-test-run
Events:                      <none>

please let me know if you need to see anything else!


Call get_true() only after setlocale().

https://github.com/libtrue/libtrue/blob/8d4087040d7131bdc22377f27e2580b883ceec74/true/true.c#L70
There is a clear bug there: the truth definitely depends on the i17n, so you must only call get_true() after the locale is set.

Are you saying that get_true() should return different values in different locales? If so, this is related to (but not, strictly speaking, a duplicate of) issue #49.

No, I do not mean an alternate truth, I mean that truth definition might depend on the location.


Migration Service

If anyone needs help transitioning, my company, Quad.io is taking on client work to help with the transition.
Http://quad.io
We have some large clients on Parse and are focused on this issue for the next 12 months. We are also going to be publishing additional open source tools to help everyone DIY if they so prefer.

Thanks but this isn't really the place for advertising.


Add new company logos

 Opera for desktop wallets
 Pandax for mobile wallets
 Universal Login for apps

Portal Network (under apps)
https://resolver.portal.network/

Alpha Wallet
https://alphawallet.com/

Totem
https://totem.network/

Please remove Mist (it's on the Desktop Wallet section)

Done.


Incorrect URL instantiation in podaacp.py

Hi @Omkar20895 this URL should be initiated to HTTPS right?
https://github.com/nasa/podaacpy/blob/986d0aa0a47f685aad056216208968aa32f25595/podaac/podaac.py#L32
class Podaac:

    def __init__(self):
        self.URL = 'http://podaac.jpl.nasa.gov/ws/'

Addressed in
commit 283c88ed01a14472d69f765c9760f7f300afdafc
Author: Lewis John McGibbney<EMAIL_ADDRESS>Date:   Tue Apr 18 20:21:09 2017 -0700

    ISSUE-109 podaac.extract_l4_granule documentation incorrect and ISSUE-108 Incorrect URL instantiation in podaacp.py

Thank you @lewismc for noticing this.


Logical/arithmetical shift?

How does C++'s shift function work? Does it keep sign bit?

According to wikipedia: If you are shifting signed int, eg. some_signed_int >> 5, the arithmetical shift is performed (signed bit is carried). When you are shifting unsigned int, logical shift is performed.
Source (see note 3): https://en.wikipedia.org/wiki/Arithmetic_shift#cite_note-3


feat(galaxy): add collection icon to Scalar Galaxy ✨

Adds a collection icon to the Scalar Galaxy spec and shows the collection icon (if present) in the import modal 🥳
https://github.com/user-attachments/assets/f22a2d58-1c03-4ac5-9154-2fbdc0dbd888

Shouldn’t live x-scalar-icon in info where the title, description and such things are? 🤔

love this :)

@hanspagel @marclave Both of those things make sense to me but this is where it's already added in the schema so if we want to move it, rename it or change it I think we'd need a migration (but yes I agree it makes more sense in info).
Also it's worth note the x-logo schema is pretty different from this which just supports a string that defines an icon from the icon library. I'd love to add more general support in the future but it seems like the way Redocly uses x-logo is also pretty different.

Just chatted with Brynn we're going to remove the icon from the modal because it will eventually compete with the logo
but otherwise it's good to go from me :)

closed in favour of a planned release in the next few months <3


With express, delete or change header in proxy request does not works

Hello
Congratulations for this good work.
I have a problem to change the request before proxy it.
I want to remove or at least empty a header. On the endpoint server, the header is always present. Event onProxyReq is called (I have the console trace) but work is not done.
Below my code
let cookieParser = require('cookie-parser'),
    express = require('express'),
    httpProxy = require('http-proxy-middleware'),
	...
    http = require('http');
...
let app = express();
let proxy = httpProxy('/', {
    target: "http://localhost:9090",
    changeOrigin: true,
    proxyTimeout: 20000,
    onProxyReq: (proxyRequest, request, response) => {
        console.log("onProxyReq");
		// delete...
        delete proxyRequest.headers["extra-header"];
		// or set empty : same problem
        proxyRequest.headers["extra-header"] = "";
    }
});
app.use(express.json())
   .use(express.urlencoded({extended: false}))
   .use(cookieParser())
   .use((request, response, next) => {
        logger.debug("Handle path : " + request.path);
        // Verify request content
        verify.run(request, response, (result) => {
        if (result.status === 0) {
           logger.debug('internal', "Route to backend");
           next();
        } else {
           utils.setError(response, result.data).end();
        }
    })
    .use('/', proxy);

server = http.createServer((request, response) => {
  ...
}
server.listen(80);
module.exports = app;

Can you help me
Many thanks

The response is proxyRequest.removeHeader !


Missing documentation _lockManager and _propertyManager

According to Custom File System [v2] the following methods are required to implement

_lockManager
_propertyManager

But I could not find any further information.
What is it for? And how to implement it?
Which properties should be added as properties ( _propertyManager )?
Thanks a lot.
Edit: I wrote an error, that I having, in Gitter regarding _lockManager

Hello,
Sorry for the wait.
Here are two new pages to give some information about _lockManager and _propertyManager:

Custom Lock Manager
Custom Property Manager

I hope these pages provides the information you need.
Thank you very much for your contribution.


Womanium Final Assignment - Dimitrios_Kranas

Womanium final submission 6.12: algorithm implementing random quantum walk on a line segment made of 16 nodes.

Good job!
Score: 8/10


[Tokens] Request will timeout if node is not available

Summary of Bug
If you request: v3/tokens with:
{
    "from": 0,
    "addresses": {
        "60": ["0x1d8bf18C7cE84b3E175b339c4Ca93aEd1dD166F1"]
    }
}

It will return 503 in the case if node is down, it will timeout.

Resolved in https://github.com/trustwallet/blockatlas/pull/1341

Resolved in https://github.com/trustwallet/blockatlas/pull/1341


Synthesis failed for nodejs-game-servers

Hello! Autosynth couldn't regenerate nodejs-game-servers. :broken_heart:
Here's the output from running synth.py:
b'dencies.\nDEBUG:synthtool:Ensuring dependencies.\n2020-06-05 04:29:30,654 synthtool [DEBUG] > Cloning googleapis-private.\nDEBUG:synthtool:Cloning googleapis-private.\n2020-06-05 04:29:30,655 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private\nDEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private\n2020-06-05 04:29:30,658 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest\nDEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest\nlatest: Pulling from gapic-images/gapic-generator-typescript\nDigest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66\nStatus: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest\n2020-06-05 04:29:31,548 synthtool [DEBUG] > Generating code for: google/cloud/gaming/v1beta.\nDEBUG:synthtool:Generating code for: google/cloud/gaming/v1beta.\n2020-06-05 04:29:32,682 synthtool [DEBUG] > Wrote metadata to synth.metadata.\nDEBUG:synthtool:Wrote metadata to synth.metadata.\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__\n    return self.main(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main\n    rv = self.invoke(ctx)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke\n    return callback(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main\n    spec.loader.exec_module(synth_module)  # type: ignore\n  File "<frozen importlib._bootstrap_external>", line 678, in exec_module\n  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n  File "/home/kbuilder/.cache/synthtool/nodejs-game-servers/synth.py", line 34, in <module>\n    version=version)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library\n    return self._generate_code(service, version, "typescript", **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code\n    f"Code generation seemed to succeed, but {output_dir} is empty."\nRuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmpe2nesri_ is empty.\n2020-06-05 04:29:32,720 autosynth [ERROR] > Synthesis failed\n2020-06-05 04:29:32,720 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at f72d636 chore: release 2.0.0 (#38)\n2020-06-05 04:29:32,726 autosynth [DEBUG] > Running: git checkout autosynth-self\nSwitched to branch \'autosynth-self\'\n2020-06-05 04:29:32,731 autosynth [ERROR] > Command \'[\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\' returned non-zero exit status 1.\n2020-06-05 04:29:32,864 autosynth [DEBUG] > Running: git checkout f72d636da39868449f3abdf8371beaceb693f7d0\nNote: checking out \'f72d636da39868449f3abdf8371beaceb693f7d0\'.\n\nYou are in \'detached HEAD\' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n  git checkout -b <new-branch-name>\n\nHEAD is now at f72d636 chore: release 2.0.0 (#38)\n2020-06-05 04:29:32,869 autosynth [DEBUG] > Running: git checkout 3b03521078d0bfeb7849776b801b36e72434aa16\nPrevious HEAD position was dfbc67c Synchronize new proto/yaml changes.\nHEAD is now at 3b03521 Synchronize new proto/yaml changes.\n2020-06-05 04:29:32,913 autosynth [DEBUG] > Running: git checkout d53a5b45c46920932dbe7d0a95e10d8b58933dae\nPrevious HEAD position was be74d3e build: do not fail builds on codecov errors (#528)\nHEAD is now at d53a5b4 docs: improve README (#600)\n2020-06-05 04:29:32,929 autosynth [DEBUG] > Running: git branch -f autosynth-53\n2020-06-05 04:29:32,933 autosynth [DEBUG] > Running: git checkout autosynth-53\nSwitched to branch \'autosynth-53\'\n2020-06-05 04:29:32,938 autosynth [INFO] > Running synthtool\n2020-06-05 04:29:32,938 autosynth [INFO] > [\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\n2020-06-05 04:29:32,940 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --\n2020-06-05 04:29:33,150 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/nodejs-game-servers/synth.py.\nOn branch autosynth-53\nnothing to commit, working tree clean\n2020-06-05 04:29:33,280 synthtool [DEBUG] > Ensuring dependencies.\nDEBUG:synthtool:Ensuring dependencies.\n2020-06-05 04:29:33,285 synthtool [DEBUG] > Cloning googleapis-private.\nDEBUG:synthtool:Cloning googleapis-private.\n2020-06-05 04:29:33,286 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private\nDEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private\n2020-06-05 04:29:33,289 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest\nDEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest\nlatest: Pulling from gapic-images/gapic-generator-typescript\nDigest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66\nStatus: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest\n2020-06-05 04:29:34,155 synthtool [DEBUG] > Generating code for: google/cloud/gaming/v1beta.\nDEBUG:synthtool:Generating code for: google/cloud/gaming/v1beta.\n2020-06-05 04:29:34,977 synthtool [DEBUG] > Wrote metadata to synth.metadata.\nDEBUG:synthtool:Wrote metadata to synth.metadata.\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__\n    return self.main(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main\n    rv = self.invoke(ctx)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke\n    return callback(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main\n    spec.loader.exec_module(synth_module)  # type: ignore\n  File "<frozen importlib._bootstrap_external>", line 678, in exec_module\n  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n  File "/home/kbuilder/.cache/synthtool/nodejs-game-servers/synth.py", line 34, in <module>\n    version=version)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library\n    return self._generate_code(service, version, "typescript", **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code\n    f"Code generation seemed to succeed, but {output_dir} is empty."\nRuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmptc1ks581 is empty.\n2020-06-05 04:29:35,020 autosynth [ERROR] > Synthesis failed\n2020-06-05 04:29:35,020 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at f72d636 chore: release 2.0.0 (#38)\n2020-06-05 04:29:35,025 autosynth [DEBUG] > Running: git checkout autosynth\nSwitched to branch \'autosynth\'\n2020-06-05 04:29:35,030 autosynth [DEBUG] > Running: git clean -fdx\nRemoving __pycache__/\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main\n    return _inner_main(temp_dir)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main\n    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop\n    synthesize_inner_loop(toolbox, synthesizer)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop\n    synthesizer, len(toolbox.versions) - 1\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch\n    synthesizer.synthesize(synth_log_path, self.environ)\n  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize\n    synth_proc.check_returncode()  # Raise an exception.\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode\n    self.stderr)\nsubprocess.CalledProcessError: Command \'[\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\' returned non-zero exit status 1.\n'

Google internal developers can see the full log here.

Autosynth is still having trouble generating nodejs-game-servers. :sob:
Here's the output from running synth.py:
b'dencies.\nDEBUG:synthtool:Ensuring dependencies.\n2020-06-05 10:20:38,026 synthtool [DEBUG] > Cloning googleapis-private.\nDEBUG:synthtool:Cloning googleapis-private.\n2020-06-05 10:20:38,027 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private\nDEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private\n2020-06-05 10:20:38,031 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest\nDEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest\nlatest: Pulling from gapic-images/gapic-generator-typescript\nDigest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66\nStatus: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest\n2020-06-05 10:20:38,955 synthtool [DEBUG] > Generating code for: google/cloud/gaming/v1beta.\nDEBUG:synthtool:Generating code for: google/cloud/gaming/v1beta.\n2020-06-05 10:20:40,151 synthtool [DEBUG] > Wrote metadata to synth.metadata.\nDEBUG:synthtool:Wrote metadata to synth.metadata.\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__\n    return self.main(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main\n    rv = self.invoke(ctx)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke\n    return callback(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main\n    spec.loader.exec_module(synth_module)  # type: ignore\n  File "<frozen importlib._bootstrap_external>", line 678, in exec_module\n  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n  File "/home/kbuilder/.cache/synthtool/nodejs-game-servers/synth.py", line 34, in <module>\n    version=version)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library\n    return self._generate_code(service, version, "typescript", **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code\n    f"Code generation seemed to succeed, but {output_dir} is empty."\nRuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmpo7m4hq7k is empty.\n2020-06-05 10:20:40,193 autosynth [ERROR] > Synthesis failed\n2020-06-05 10:20:40,194 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at f72d636 chore: release 2.0.0 (#38)\n2020-06-05 10:20:40,198 autosynth [DEBUG] > Running: git checkout autosynth-self\nSwitched to branch \'autosynth-self\'\n2020-06-05 10:20:40,203 autosynth [ERROR] > Command \'[\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\' returned non-zero exit status 1.\n2020-06-05 10:20:40,342 autosynth [DEBUG] > Running: git checkout f72d636da39868449f3abdf8371beaceb693f7d0\nNote: checking out \'f72d636da39868449f3abdf8371beaceb693f7d0\'.\n\nYou are in \'detached HEAD\' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n  git checkout -b <new-branch-name>\n\nHEAD is now at f72d636 chore: release 2.0.0 (#38)\n2020-06-05 10:20:40,347 autosynth [DEBUG] > Running: git checkout 3b03521078d0bfeb7849776b801b36e72434aa16\nPrevious HEAD position was dfbc67c Synchronize new proto/yaml changes.\nHEAD is now at 3b03521 Synchronize new proto/yaml changes.\n2020-06-05 10:20:40,394 autosynth [DEBUG] > Running: git checkout d53a5b45c46920932dbe7d0a95e10d8b58933dae\nPrevious HEAD position was be74d3e build: do not fail builds on codecov errors (#528)\nHEAD is now at d53a5b4 docs: improve README (#600)\n2020-06-05 10:20:40,411 autosynth [DEBUG] > Running: git branch -f autosynth-53\n2020-06-05 10:20:40,415 autosynth [DEBUG] > Running: git checkout autosynth-53\nSwitched to branch \'autosynth-53\'\n2020-06-05 10:20:40,420 autosynth [INFO] > Running synthtool\n2020-06-05 10:20:40,421 autosynth [INFO] > [\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\n2020-06-05 10:20:40,423 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --\n2020-06-05 10:20:40,651 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/nodejs-game-servers/synth.py.\nOn branch autosynth-53\nnothing to commit, working tree clean\n2020-06-05 10:20:40,797 synthtool [DEBUG] > Ensuring dependencies.\nDEBUG:synthtool:Ensuring dependencies.\n2020-06-05 10:20:40,801 synthtool [DEBUG] > Cloning googleapis-private.\nDEBUG:synthtool:Cloning googleapis-private.\n2020-06-05 10:20:40,802 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private\nDEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private\n2020-06-05 10:20:40,806 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest\nDEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest\nlatest: Pulling from gapic-images/gapic-generator-typescript\nDigest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66\nStatus: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest\n2020-06-05 10:20:41,747 synthtool [DEBUG] > Generating code for: google/cloud/gaming/v1beta.\nDEBUG:synthtool:Generating code for: google/cloud/gaming/v1beta.\n2020-06-05 10:20:42,602 synthtool [DEBUG] > Wrote metadata to synth.metadata.\nDEBUG:synthtool:Wrote metadata to synth.metadata.\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__\n    return self.main(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main\n    rv = self.invoke(ctx)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke\n    return callback(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main\n    spec.loader.exec_module(synth_module)  # type: ignore\n  File "<frozen importlib._bootstrap_external>", line 678, in exec_module\n  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n  File "/home/kbuilder/.cache/synthtool/nodejs-game-servers/synth.py", line 34, in <module>\n    version=version)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library\n    return self._generate_code(service, version, "typescript", **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code\n    f"Code generation seemed to succeed, but {output_dir} is empty."\nRuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmpc2g74gkp is empty.\n2020-06-05 10:20:42,647 autosynth [ERROR] > Synthesis failed\n2020-06-05 10:20:42,647 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at f72d636 chore: release 2.0.0 (#38)\n2020-06-05 10:20:42,652 autosynth [DEBUG] > Running: git checkout autosynth\nSwitched to branch \'autosynth\'\n2020-06-05 10:20:42,657 autosynth [DEBUG] > Running: git clean -fdx\nRemoving __pycache__/\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main\n    return _inner_main(temp_dir)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main\n    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop\n    synthesize_inner_loop(toolbox, synthesizer)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop\n    synthesizer, len(toolbox.versions) - 1\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch\n    synthesizer.synthesize(synth_log_path, self.environ)\n  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize\n    synth_proc.check_returncode()  # Raise an exception.\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode\n    self.stderr)\nsubprocess.CalledProcessError: Command \'[\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\' returned non-zero exit status 1.\n'

Google internal developers can see the full log here.

Autosynth is still having trouble generating nodejs-game-servers. :sob:
Here's the output from running synth.py:
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/nodejs-game-servers/synth.py", line 34, in <module>
    version=version)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library
    return self._generate_code(service, version, "typescript", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code
    f"Code generation seemed to succeed, but {output_dir} is empty."
RuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmp5t0plx_7 is empty.
2020-06-05 15:46:40,864 autosynth [ERROR] > Synthesis failed
2020-06-05 15:46:40,864 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f72d636 chore: release 2.0.0 (#38)
2020-06-05 15:46:40,869 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-05 15:46:40,873 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-05 15:46:40,998 autosynth [DEBUG] > Running: git checkout f72d636da39868449f3abdf8371beaceb693f7d0
Note: checking out 'f72d636da39868449f3abdf8371beaceb693f7d0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f72d636 chore: release 2.0.0 (#38)
2020-06-05 15:46:41,003 autosynth [DEBUG] > Running: git checkout 3b03521078d0bfeb7849776b801b36e72434aa16
Previous HEAD position was dfbc67c Synchronize new proto/yaml changes.
HEAD is now at 3b03521 Synchronize new proto/yaml changes.
2020-06-05 15:46:41,046 autosynth [DEBUG] > Running: git checkout 9c2913e1831eb00fa01317f3fea4ce25d3f657eb
Previous HEAD position was be74d3e build: do not fail builds on codecov errors (#528)
HEAD is now at 9c2913e feat: show output from microgenerator runs (#575)
2020-06-05 15:46:41,062 autosynth [DEBUG] > Running: git branch -f autosynth-59
2020-06-05 15:46:41,065 autosynth [DEBUG] > Running: git checkout autosynth-59
Switched to branch 'autosynth-59'
2020-06-05 15:46:41,070 autosynth [INFO] > Running synthtool
2020-06-05 15:46:41,070 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-05 15:46:41,072 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-05 15:46:41,295 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/nodejs-game-servers/synth.py.
On branch autosynth-59
nothing to commit, working tree clean
2020-06-05 15:46:41,430 synthtool [DEBUG] > Ensuring dependencies.
DEBUG:synthtool:Ensuring dependencies.
2020-06-05 15:46:41,434 synthtool [DEBUG] > Cloning googleapis-private.
DEBUG:synthtool:Cloning googleapis-private.
2020-06-05 15:46:41,435 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis-private
2020-06-05 15:46:41,438 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest
DEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest
latest: Pulling from gapic-images/gapic-generator-typescript
Digest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest
2020-06-05 15:46:42,328 synthtool [DEBUG] > Generating code for: google/cloud/gaming/v1beta.
DEBUG:synthtool:Generating code for: google/cloud/gaming/v1beta.
gapic-generator-typescript: https://github.com/googleapis/gapic-generator-typescript
Latest commit:
commit a858a371e225254fca1c32d8d6b142b42cb711ad
Author: release-please[bot]<EMAIL_ADDRESS>Date:   Thu Jun 4 16:54:54 2020 -0700

child_process.js:642
    throw err;
    ^

Error: spawnSync protoc EACCES
    at Object.spawnSync (internal/child_process.js:1041:20)
    at spawnSync (child_process.js:607:24)
    at Object.execFileSync (child_process.js:634:15)
    at Object.<anonymous> (/usr/local/lib/node_modules/@google-cloud/gapic-generator/build/src/gapic-generator-typescript.js:117:17)
    at Module._compile (internal/modules/cjs/loader.js:955:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
    at Module.load (internal/modules/cjs/loader.js:811:32)
    at Function.Module._load (internal/modules/cjs/loader.js:723:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
    at internal/main/run_main_module.js:17:11 {
  errno: 'EACCES',
  code: 'EACCES',
  syscall: 'spawnSync protoc',
  path: 'protoc',
  spawnargs: [
<EMAIL_ADDRESS>    '--typescript_gapic_out=/out',
    '--gapic-validator_out=.',
    '--typescript_gapic_opt="package-name=@google-cloud/game-servers"',
    '--experimental_allow_proto3_optional',
    '-I/in',
    '/in/google/cloud/gaming/v1beta/game_server_configs_service.proto',
    '/in/google/cloud/gaming/v1beta/realms.proto',
    '/in/google/cloud/gaming/v1beta/game_server_clusters.proto',
    '/in/google/cloud/gaming/v1beta/common.proto',
    '/in/google/cloud/gaming/v1beta/game_server_deployments.proto',
    '/in/google/cloud/gaming/v1beta/game_server_clusters_service.proto',
    '/in/google/cloud/gaming/v1beta/realms_service.proto',
    '/in/google/cloud/gaming/v1beta/game_server_deployments_service.proto',
    '/in/google/cloud/gaming/v1beta/game_server_configs.proto',
    '-I/protos/api-common-protos-master'
  ],
  error: [Circular],
  status: null,
  signal: null,
  output: null,
  pid: 17,
  stdout: null,
  stderr: null
}
2020-06-05 15:46:43,160 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/nodejs-game-servers/synth.py", line 34, in <module>
    version=version)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library
    return self._generate_code(service, version, "typescript", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code
    f"Code generation seemed to succeed, but {output_dir} is empty."
RuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmpbblf4elg is empty.
2020-06-05 15:46:43,198 autosynth [ERROR] > Synthesis failed
2020-06-05 15:46:43,198 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f72d636 chore: release 2.0.0 (#38)
2020-06-05 15:46:43,204 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-06-05 15:46:43,208 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


fix(datepicker): add focus indication in high contrast mode

Fixes the datepicker calendar not having focus indication in high contrast mode, making it difficult to navigate using the keyboard.

@crisbeto this passes presubmit, just needs a rebase

Rebased.

Rebased.


run blower fan for circulation

Curious if I am not reading something right, or if this would be an enhancement.  I have an hvac system with 3 relays, each relay for heating, cooling and blower fan.  My hvac board logic knows to cut the blower fan if the heat is on (gas) but for the cooling, i have to manually turn on the blower fan.
Below is my config
  - platform: dual_smart_thermostat
    name: Climate_Thermostat
    heater: switch.climate_control_heater
    cooler: switch.climate_control_ac
    target_sensor: sensor.average_whole_house_temp
    min_temp: 70
    max_temp: 74
    ac_mode: false
    target_temp: 71
    target_temp_high: 74
    target_temp_low: 70
    cold_tolerance: 0.3
    hot_tolerance: 0
    min_cycle_duration:
      seconds: 60
    keep_alive:
      minutes: 3
    initial_hvac_mode: "off" # hvac mode will reset to this value after restart
    away: # this preset will be available for all hvac modes
      temperature: 74
      target_temp_low: 70
      target_temp_high: 74
    home: # this preset will be available only for heat or cool hvac mode
      temperature: 71
      target_temp_low: 70
      target_temp_high: 74
    precision: 0.1
    target_temp_step: 0.5

Any help would be greatly appreciated

With the latest release, you should be able to keep the fan on with the cooler.
For that, you need to define a fan:
heater: switch.climate_control_heater
cooler: switch.climate_control_ac
fan: switch.climate_control_fan
fan_on_with_ac: true

You don't need to set ac_mode

I am a bit confused, I don't have issues keeping the fan on with the cooler, I want to be able to circulate the air with just the fan when the ac/heater is not on.  For example, check if ac/heater has run in the last 20 minutes, if not, turn on blower fan for 5 minutes and reset 20 minute timer, then do again.  If the ac or heater kicks on, then reset timer.

OK.
You will still need to configure the fan property. After that, you can turn on the fan mode with automation. (hvac_mode->fan_only)

SO I have tried to write a couple automations a few different ways and I am noticing that after setting the dual smart thermostat to fan only and turning on the fan that it cuts off prematurely.  I tried for a 3 min every 20 minutes and now i am trying a 12 min every hour.  This last test, the fan cut off after 2-3 minutes.
Config
climate:
  - platform: dual_smart_thermostat
    name: Climate_Thermostat
    heater: switch.climate_control_heater
    cooler: switch.climate_control_ac
    fan: switch.climate_control_fan
    fan_on_with_ac: true
    target_sensor: sensor.average_whole_house_temp
    min_temp: 68
    max_temp: 74
    target_temp: 70
    target_temp_high: 76
    target_temp_low: 68
    cold_tolerance: 0.3
    hot_tolerance: 0
    min_cycle_duration:
      seconds: 300
    keep_alive:
      minutes: 3
    initial_hvac_mode: "heat_cool" # hvac mode will reset to this value after restart
    sleep: # this preset will be available for all hvac modes
      temperature: 70
      target_temp_low: 69
      target_temp_high: 71
    away: # this preset will be available for all hvac modes
      temperature: 72
      target_temp_low: 68
      target_temp_high: 74
    home: # this preset will be available only for heat or cool hvac mode
      temperature: 69
      target_temp_low: 68
      target_temp_high: 71
    precision: 0.1
    target_temp_step: 0.5

automation
alias: Loop Fan
description: ""
trigger:
  - platform: time_pattern
    hours: /1
condition: []
action:
  - service: climate.set_hvac_mode
    data:
      hvac_mode: fan_only
    target:
      entity_id: climate.climate_thermostat
  - service: switch.turn_on
    target:
      entity_id: switch.climate_control_fan
    data: {}
  - delay:
      hours: 0
      minutes: 12
      seconds: 0
      milliseconds: 0
  - service: switch.turn_off
    target:
      entity_id: switch.climate_control_fan
    data: {}
mode: restart

Other automation, the one I prefer to use
alias: Run fan for 3 minutes every 15 minutes
description: ""
trigger:
  - platform: time_pattern
    minutes: /20
action:
  - parallel:
      - condition: template
        value_template: "{{ is_state('switch.climate_control_fan', 'off') }}"
      - condition: template
        value_template: "{{ is_state('switch.virtual_heater_fan', 'off') }}"
  - service: switch.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: switch.climate_control_fan
  - delay:
      hours: 0
      minutes: 3
      seconds: 0
      milliseconds: 0
  - service: switch.turn_off
    target:
      entity_id:
        - switch.climate_control_fan
    data: {}
    enabled: true

You can also try to set a lower target temperature in your automation, as the fan works like a cooler.

Closing this due to inactivity


added a custom background color option

Please make sure you do the following before filing your PR:

[x] Provide a video or screenshots of any visual changes made

[x] Run pnpm run check and make sure everything passes

I Think Color Picker Not Good For This Project.

I Think Color Picker Not Good For This Project.

Why do you think so?

Looks nice. Would be a nice addition.


adding explicit examples that show the use of the attributes in EACH example-code

Hi,
the headline says it all
adding explicit examples that show the use of the attributes in EACH example-code
The example for the PIR-Sensors has empty attributes
{       "type": "wokwi-pir-motion-sensor",       "id": "pir1",       "top": -42,       "left": 25.81,       "attrs": {}     },
that is a somehow bad example as it dos NOT explain how to use the attributes
you should add an example that shows all attributes
If you show it like in the picture below a user can learn

where to find the attributes  (diagram-json-tab)
and what syntax the content of the attributes section must have to make it work with multiples attributes (comma-separated

Thanks for the feedback! For starters, we can add an explainer in diagram format, and link to it from the Attributes section of each part.

7hours later i find your comment and change the anode to a cathode and now everything works. StefanL38 i could kiss ya right now you made my day. I knew what the problem was just had no idea how to edit it, until i read your comment. This is defiantly needed so people don't give up before they find the potential of the site.
and Wokwi if you give your instruction to someone that has never used the site before they will quickly show you if your instruction are good or far to vague.

Hello @letsgo88
I'm glad you were able to find a solution, but it's unfortunate that it took you 7 hours 😓. Can you help us understand how we can improve our documentation and processes to prevent this from happening for new users in the future?
Can you please tell me where(site, forum, particular wokwi guide, or anything) did you try to find the solution to start with? What all options did you explore?
Thanks in advance 😃

Thankyou you for your interest I will be happy to answer your questions . But with my current deadline looming I will need to wait untill my schedules free up, before I help improve the service you provide. Please be patient for my reply.Many thanks Chris On Jan 26, 2023 12:32, matititam @.***> wrote:
Hello @letsgo88
I'm glad you were able to find a solution, but it's unfortunate that it took you 7 hours 😓. Can you help us understand how we can improve our documentation and processes to prevent this from happening for new users in the future?
Can you please tell me where(site, forum, particular wokwi guide, or anything) did you try to find the solution to start with? What all options did you explore?
Thanks in advance 😃
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


better plugin documentation

can you put together more examples and explanations of how to write plugins? the existing documentation doesn't provide enough context

Sorry, no time to write advanced docs.

@puzrin The beauty of open-source is that people work on open issues. How will you get contributors if you close issues you can't work on?

I don't like to to keep endless issues in tracker, just because you believe somebody can do it. Sorry, but that's realistic estimate, IMO. Also, this issues has no concrete criteria, when it can be considered as done.
If someone really decides to improve docs - status of issue will not stop him.

@puzrin lol you're charming.


Make loop combinator use a Gallina tuple for feedback

As part of the process of eliminating the tuple type from SignalType and doing away with mkpair and unpair this PR proposes an alternative formulation for a loop combinator that uses a Gallina flat-tuple to structure feedback information. The PR needs proofs to be done for the new combinator, which I am leaving to @jadephilipoom to add as further commits to this PR. Please delete the old combinators e.g. loopDelaySR and then rename loopDelaySRAlt to loopDelaySR etc. Thank you kindly.
The PR demonstrates how to use the existing tupleInterface infrastructure we have to define a tuple feedback tuple for loopDelaySR:
  loopDelaySRAlt : forall {A : SignalType} {B : list SignalType},
                   tupleInterface combType B ->
                   (signal A * tupleInterface signal B -> cava (tupleInterface signal B)) ->
                   signal A ->
                   cava (tupleInterface signal B);

For example, bit B = [Bit] then a specific loop type would be:
forall {A : SignalType}
                   Bool ->
                   (signal A * signal Bit -> cava (signal Bit)) ->
                   signal A ->
                   cava (signal Bit);

If B = [Bit; Vec Bit 8] then we would have:
forall {A : SignalType}
                   (Bool, Vector.t Bool 8) ->
                   (signal A * (signal Bit, signal (Vec Bit 8)) -> cava (signal Bit * signal (Vec Bit 8))) ->
                   signal A ->
                   cava (signal Bit * signal (Vec Bit 8));

This might be a good time to make loopDelaySEnableR the sole primitive loop combinator in CavaSeq and then define all the others as specialized versions in a library module (or Combinators.v). Another thing that could be considered at this stage is to merge back CavaSeq back into CavaClass (or this can be left for a later PR).
Note how we have separate signals for each component of the composite state, and the netlist layer generates separate registers for each of the elements of the composite state. So now we can have multiple streams of values flowing into the core of the loop body which can be taken apart and merged with combinators. The current formulation has been restricting us to a single feedback signal (which can contain values built using our SignalType tuples), which I think is not what we really want.
Once the loop combinators are ported over we should be able to delete the SignalType tuples, mkpair, unpair etc. assuming these definitions do not add more complexity for proofs than they remove.
A concrete test example added in the PR, along with a Coq-level Example test and netlist generation for a SystemVerilog test:
  Definition countByInvAlt : signal (Vec Bit 8) -> cava (signal (Vec Bit 8) * signal Bit)
    := loopDelaySRAlt (tupleInterfaceDefault [Vec Bit 8; Bit])
       (pairLeft >=> first addN >=> second inv).

The Coq test:
(* Check the toggling output version. *)
Example countByInvAlt_ex1: sequential (countByInvAlt [b14; b7; b3; b250])
  = ([b14; b21; b24; b18], [true; false; true; false]).
Proof. reflexivity. Qed.

The SystemVerilog test:
clang++ -L/usr/local/opt/sqlite/lib    countByInvAlt_tb.o verilated.o verilated_vcd_c.o VcountByInvAlt_tb__ALL.a    -o VcountByInvAlt_tb -lm -lstdc++
obj_dir/VcountByInvAlt_tb
                  10: tick = 0,  i = 14,  o = 0,  t = 0
                  20: tick = 1,  i = 7,  o = 14,  t = 1
                  30: tick = 2,  i = 3,  o = 21,  t = 0
                  40: tick = 3,  i = 250,  o = 24,  t = 1

QUESTION : Why does the Coq Example test omit the first output i.e. (0, false)?
The generated SystemVerilog does produce this first output value, hence the different expected output given for the SysemVerilog test bench for this case vs. the Example expected output.
CC: @blaxill
Addresses part of #416

QUESTION : Why does the Coq Example test omit the first output i.e. (0, false)?
The generated SystemVerilog does produce this first output value, hence the different expected output given for the SysemVerilog test bench for this case vs. the Example expected output.

FWIW this seems to correspond to registering state but not registering output which is what I'd expect:
I -> S -> updated S (delayed)
I -> S -> O (not delayed)

This corresponds to what i'd expect for handshaking- when both valid & ready on the same clock cycle we transition to accept token state at next time step. With a delayed O its still possible, but our output valid/ready would be registered which would be extra resources and the state transition logic would have to account for it.

After some thought, I have three primary concerns here:

This requires a lot of layers of definitions. In particular, because every function on tuples is essentially defined twice (once for tupleInterfaceR and once for tupleInterface, every lemma about tupleInterface or any function defined over it will also require a corresponding proof about tupleInterfaceR.
To allow the input to be a tuple, we need to define toListOfTuples, the inverse of fromListOfTuples (so that fold_left can work over the list). However, this exposes us to the same problem that we have currently with unpeel -- that is, if the list of types is empty, toListOfTuples has to convert an empty tuple of lists into a list of empty tuples. But, because there are no lists to look at, it can't know how long to make the list of empty tuples. This would force us to put a ts <> nil precondition on all loop lemmas, which would complicate the already tricky inductive logic in those proofs.
The tupleInterface setup has the exact same problem for which we rejected https://github.com/project-oak/silveroak/pull/445; it will require explicit type annotations in circuit descriptions for loops. The reasons countByInvAlt doesn't currently require annotations is because a) the loop input isn't a tuple, so no annotation is needed for that and b) it's a loop with a reset value, so it's pulling the state type from the reset value which is also defined in terms of tuples. If the explicit type there is removed (tupleInterfaceDefault [Vec Bit 8; Bit]) => (tupleInterfaceDefault _), then the definition fails to typecheck without (B:=[Vec Bit 8; Bit]). Since loopDelayS doesn't have the default type, any definition with loopDelayS will require the type annotation.

I'll try to do some fail-fast experiments with different ways of handling the tuple problem to see if we can resolve these issues somehow, and report back soon.

OK! All great points. Let's suspend this PR for now and I shall propose an alternative PR.

I've put my experiments up at https://gist.github.com/jadephilipoom/7d2ccba2b8a7849c6f93efaf22b94696
For each experiment, I did the minimal setup to define the countByInvAlt example as a comparison point. I tried the existing setup (pairs in SignalType), the tupleInterface setup, the setup from #445 (SignalInterface), and two new ideas: a) making lists work over completely abstract types (didn't work) and b) creating an inductive structure to represent the sequential structure of a circuit (did work).
I actually think the last one (in the experiments under SequentialInductive) is promising. It doesn't require type annotations for the circuit, and actually has the property that the loop "disappears" when the circuit is interpreted. It would allow us to keep the shallow embedding for combinational subcomponents, but leverage the power of a known inductive structure when reasoning about sequential ones.

Abandoning in preference to a better idea from @jadephilipoom for how to do loop.


Warning fixes v2

cherry-picked commits from #2315 that should not remove too much.

@freerdp-bot test.

closing, many fixes do not merge any more.


Use operator in e2e tests

Signed-off-by: clyang82<EMAIL_ADDRESS>

/lgtm

It seems you need to add the MULTICLUSTER_GLOBALHUB_OPERATOR_IMAGE_REF environment in the cicd-scripts/run-prow-e2e-test.sh, so that the hoh_setup.sh can use the operator to setup the HoH environment.

/lgtm

/retest

Fixed: https://github.com/stolostron/backlog/issues/24610


Feat: Support dbt model versioning

Introduces support for the dbt model versioning feature as described here: https://docs.getdbt.com/docs/collaborate/govern/model-versions

@tobymao for all intents and purposes each version is treated as a separate model.
This is also consistent with dbt docs:

How is this different from just creating a new model?
Honestly, it's only a little bit different! There isn't much magic here, and that's by design.

@tobymao it creates a whole new physical table specific to that version.
dbt.exceptions.AmbiguousAliasError: Compilation Error
  dbt found two resources with the database representation "database.schema.model_name".
  dbt cannot create two resources with identical database representations. To fix this,
  change the configuration of one of these resources:
  - model.project_name.model_name.v1 (models/.../model_name.sql)
  - model.project_name.model_name.v2 (models/.../model_name_v2.sql)


Please add the following to PPRstat

Vincent Picariell
Matthew Morrow
G. Gaul
Bruce B. Rush
Tamara Harrity

Also please add Patricia McCole. Thanks

Issue moved to andrewviren/PPRstat #9 via ZenHub


fails to install espeak-phonemizer windows 10

Collecting espeak-phonemizer==1.2.0
Downloading espeak_phonemizer-1.2.0.tar.gz (17 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File "c:\Users\Tensor\Desktop\piper.venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "c:\Users\Tensor\Desktop\piper.venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\Users\Tensor\Desktop\piper.venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel          return hook(config_settings)
File "C:\Users\Tensor\AppData\Local\Temp\pip-build-env-mk3op46t\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel          return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\Tensor\AppData\Local\Temp\pip-build-env-mk3op46t\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "C:\Users\Tensor\AppData\Local\Temp\pip-build-env-mk3op46t\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\Tensor\AppData\Local\Temp\pip-build-env-mk3op46t\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 16, in
File "C:\Users\Tensor\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1133, in read_text
return f.read()
File "C:\Users\Tensor\AppData\Local\Programs\Python\Python310\lib\encodings          return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to

which package are you trying to install?
i am not sure espeak-phonemizer from this organization will work on windows

yeah that's what I figured it's strange though this would be the error lol and yeah that is the specific package trying to be installed

Hi @ArEnSc,
try pip install espeak-phonemizer-windows instead.

Piper will be using piper-phonemize going forward. I will need some help porting that to Windows, but I don't expect it to be terribly difficult.

So I've been running on windows a bit - there are some issues.
For espeak-phonemizer I was able to get around the issue of it not installing by manually extracting the package into the venv, but the bigger problem is the espeak_phonemizer lib has hardcoded dependencies on libc.so.6 and libespeak-ng.so.  The libespeak-ng.so is an easy swap for libespeak-ng.pyd, but the libc (which is just to get a file pointer buffer) doesn't have a Windows equivalent.  It looks like you corrected that in the piper-phonemize library so that's a big plus.  I'd love to be able to pass custom dictionary definitions for when the g2p process doesn't get it right, maybe something for the future
The other change was there's a step to call a script to cythonize the monotonic_align lib.   That's pretty easy to do manually (and move the .pyd file to the correct location), but obviously a shell script isn't working in Windows.
Everything else works fine on Windows.

I've created a PR (# 5) in espeak_phonemizer repo (https://github.com/rhasspy/espeak-phonemizer/pull/5) fix should fix this error.

I'm on windows 10 64 bit and running into the same issue. It seems to me that the PR #5 was not merged yet. As I understand it, it would make it possible to install on a windows 10 amd64 platform. Correct me if I'm wrong, please.
Could the PR #5 be integrated in the project so I can use Piper on my machine?

The #5 isn't related to this topic. piper_phonemize is already for Windows, we just have to wait for a Python wheel available for the pypy's repo.