local cluster provisioning fails in HA install

rancher/rancher:master (11/27)
rancher/server-chart:master
RKE v0.1.11
HA install w/ 3 fresh nodes (Ubuntu 16.04)
When deploying Rancher server in HA via helm, the local cluster fails to provision, with error:
Exit status 1, unable to recognize "management-statefile_path_redacted": Unauthorized

To reproduce:

Create RKE cluster
Install Rancher via helm

Actual:

local cluster fails to provision

Expected:

local cluster provisions successfully

kube-apiserver logs from leader host:
I1128 16:30:48.668528       1 controller.go:597] quota admission added evaluator for: {management.cattle.io projects}
I1128 16:30:48.697947       1 controller.go:597] quota admission added evaluator for: {management.cattle.io clusterroletemplatebindings}
I1128 16:30:48.888250       1 controller.go:597] quota admission added evaluator for: {rbac.authorization.k8s.io roles}
I1128 16:30:48.909505       1 controller.go:597] quota admission added evaluator for: {rbac.authorization.k8s.io rolebindings}
I1128 16:30:48.946664       1 controller.go:597] quota admission added evaluator for: {management.cattle.io projectroletemplatebindings}
I1128 16:31:00.223685       1 controller.go:597] quota admission added evaluator for: {management.cattle.io projectalerts}
I1128 16:31:00.250023       1 controller.go:597] quota admission added evaluator for: { namespaces}
I1128 16:31:00.274224       1 controller.go:597] quota admission added evaluator for: {management.cattle.io nodes}
I1128 16:31:00.379819       1 controller.go:597] quota admission added evaluator for: {project.cattle.io sourcecodeproviderconfigs}
I1128 16:31:00.455648       1 controller.go:597] quota admission added evaluator for: {project.cattle.io pipelinesettings}
I1128 16:32:28.014097       1 controller.go:105] OpenAPI AggregationController: Processing item v1beta1.metrics.k8s.io
E1128 16:32:28.023977       1 controller.go:111] loading OpenAPI spec for "v1beta1.metrics.k8s.io" failed with: OpenAPI spec does not exists
I1128 16:32:28.023996       1 controller.go:119] OpenAPI AggregationController: action for item v1beta1.metrics.k8s.io: Rate Limited Requeue.
E1128 16:33:41.640679       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:41.649457       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:48.230790       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:48.239536       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:48.247625       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:48.255917       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:48.267487       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:48.275611       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:48.284377       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:50.414809       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:50.423365       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:50.431272       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:50.439136       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:50.446876       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:50.454946       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:33:50.462872       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
I1128 16:34:28.042268       1 controller.go:105] OpenAPI AggregationController: Processing item v1beta1.metrics.k8s.io
E1128 16:34:28.052692       1 controller.go:111] loading OpenAPI spec for "v1beta1.metrics.k8s.io" failed with: OpenAPI spec does not exists
I1128 16:34:28.052710       1 controller.go:119] OpenAPI AggregationController: action for item v1beta1.metrics.k8s.io: Rate Limited Requeue.
I1128 16:35:28.052922       1 controller.go:105] OpenAPI AggregationController: Processing item v1beta1.metrics.k8s.io
E1128 16:35:28.057924       1 controller.go:111] loading OpenAPI spec for "v1beta1.metrics.k8s.io" failed with: OpenAPI spec does not exists
I1128 16:35:28.057941       1 controller.go:119] OpenAPI AggregationController: action for item v1beta1.metrics.k8s.io: Rate Limited Requeue.
I1128 16:37:28.058152       1 controller.go:105] OpenAPI AggregationController: Processing item v1beta1.metrics.k8s.io
E1128 16:37:28.062822       1 controller.go:111] loading OpenAPI spec for "v1beta1.metrics.k8s.io" failed with: OpenAPI spec does not exists
I1128 16:37:28.062842       1 controller.go:119] OpenAPI AggregationController: action for item v1beta1.metrics.k8s.io: Rate Limited Requeue.
E1128 16:38:04.225152       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:04.233507       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:04.241404       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:04.248955       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:04.256770       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:04.265134       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:04.273522       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:06.404378       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:06.412868       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:06.420459       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:06.428141       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:06.436749       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:06.444937       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:06.453866       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:08.588330       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:08.597322       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:08.605023       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:08.612779       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:08.620460       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:08.628487       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]
E1128 16:38:08.636489       1 authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, invalid bearer token]]

Rancher logs:
2018/11/28 16:30:46 [INFO] Rancher version 26456354 is starting
2018/11/28 16:30:46 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:auto Embedded:false KubeConfig: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false NoCACerts:false ListenConfig:<nil> AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0}
2018/11/28 16:30:46 [INFO] Listening on /tmp/log.sock
2018/11/28 16:30:46 [INFO] Activating driver rke
2018/11/28 16:30:46 [INFO] Activating driver rke done
2018/11/28 16:30:46 [INFO] Activating driver gke
2018/11/28 16:30:46 [INFO] Activating driver gke done
2018/11/28 16:30:46 [INFO] Activating driver aks
2018/11/28 16:30:46 [INFO] Activating driver aks done
2018/11/28 16:30:46 [INFO] Activating driver eks
2018/11/28 16:30:46 [INFO] Activating driver eks done
2018/11/28 16:30:46 [INFO] Activating driver import
2018/11/28 16:30:46 [INFO] Activating driver import done
I1128 16:30:46.114888       7 http.go:110] HTTP2 has been explicitly disabled
2018/11/28 16:30:46 [INFO] Running in clustered mode with ID <IP_ADDRESS>, monitoring endpoint cattle-system/rancher
2018/11/28 16:30:46 [INFO] Creating CRD templatecontents.management.cattle.io
2018/11/28 16:30:46 [INFO] Creating CRD templates.management.cattle.io
2018/11/28 16:30:46 [INFO] Creating CRD templateversions.management.cattle.io
2018/11/28 16:30:46 [INFO] Creating CRD tokens.management.cattle.io
2018/11/28 16:30:46 [INFO] Creating CRD userattributes.management.cattle.io
2018/11/28 16:30:46 [INFO] Creating CRD users.management.cattle.io
2018/11/28 16:30:46 [INFO] Waiting for CRD users.management.cattle.io to become available
2018/11/28 16:30:46 [INFO] Done waiting for CRD users.management.cattle.io to become available
2018/11/28 16:30:47 [INFO] Starting API controllers
I1128 16:30:47.506131       7 leaderelection.go:187] attempting to acquire leader lease  kube-system/cattle-controllers...
I1128 16:30:47.514730       7 leaderelection.go:196] successfully acquired lease kube-system/cattle-controllers
2018/11/28 16:30:47 [INFO] Starting catalog controller
2018/11/28 16:30:47 [INFO] Starting project-level catalog controller
2018/11/28 16:30:47 [INFO] Starting cluster-level catalog controller
2018/11/28 16:30:47 [INFO] Starting management controllers
W1128 16:30:47.589877       7 reflector.go:270] github.com/rancher/norman/controller/generic_controller.go:175: watch of *v3.Project ended with: too old resource version: 1622 (1624)
W1128 16:30:47.620858       7 reflector.go:270] github.com/rancher/norman/controller/generic_controller.go:175: watch of *v3.RoleTemplate ended with: too old resource version: 1622 (1624)
W1128 16:30:47.638515       7 reflector.go:270] github.com/rancher/norman/controller/generic_controller.go:175: watch of *v3.NodeDriver ended with: too old resource version: 1622 (1624)
2018/11/28 16:30:48 [INFO] Reconciling GlobalRoles
2018/11/28 16:30:48 [INFO] Listening on :443
2018/11/28 16:30:48 [INFO] Listening on :80
2018/11/28 16:30:48 [INFO] Creating admin
2018/11/28 16:30:48 [INFO] Creating user
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-admin for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] Creating clusters-create
2018/11/28 16:30:48 [INFO] Creating catalogs-manage
2018/11/28 16:30:48 [INFO] Creating users-manage
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-clusters-create for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-catalogs-manage for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-user for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] Creating roles-manage
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-users-manage for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] Creating authn-manage
2018/11/28 16:30:48 [INFO] Creating settings-manage
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-roles-manage for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-authn-manage for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] Creating nodedrivers-manage
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-settings-manage for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] Creating catalogs-use
2018/11/28 16:30:48 [INFO] Creating podsecuritypolicytemplates-manage
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-nodedrivers-manage for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-catalogs-use for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] Creating user-base
2018/11/28 16:30:48 [INFO] Reconciling RoleTemplates
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-podsecuritypolicytemplates-manage for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] Creating admin
2018/11/28 16:30:48 [INFO] [mgmt-auth-gr-controller] Creating clusterRole cattle-globalrole-user-base for corresponding GlobalRole
2018/11/28 16:30:48 [INFO] Creating edit
2018/11/28 16:30:48 [INFO] Creating cluster-member
2018/11/28 16:30:48 [INFO] Creating projects-create
2018/11/28 16:30:48 [INFO] Creating read-only
2018/11/28 16:30:48 [INFO] Creating services-view
2018/11/28 16:30:48 [INFO] Creating projectcatalogs-view
2018/11/28 16:30:48 [INFO] Creating nodes-manage
2018/11/28 16:30:48 [INFO] Creating nodes-view
2018/11/28 16:30:48 [INFO] Creating clustercatalogs-manage
2018/11/28 16:30:48 [INFO] Creating project-owner
2018/11/28 16:30:48 [INFO] Creating ingress-manage
2018/11/28 16:30:48 [INFO] Creating configmaps-manage
2018/11/28 16:30:48 [INFO] Creating clusterroletemplatebindings-manage
2018/11/28 16:30:48 [INFO] Creating workloads-manage
2018/11/28 16:30:48 [INFO] Creating projectroletemplatebindings-manage
2018/11/28 16:30:48 [INFO] Creating workloads-view
2018/11/28 16:30:48 [INFO] Creating projects-view
2018/11/28 16:30:48 [INFO] Creating create-ns
2018/11/28 16:30:48 [INFO] Creating secrets-manage
2018/11/28 16:30:48 [INFO] Creating projectroletemplatebindings-view
2018/11/28 16:30:48 [INFO] Creating projectcatalogs-manage
2018/11/28 16:30:48 [INFO] Creating storage-manage
2018/11/28 16:30:48 [INFO] Creating ingress-view
2018/11/28 16:30:48 [INFO] Creating secrets-view
2018/11/28 16:30:48 [INFO] Creating persistentvolumeclaims-view
2018/11/28 16:30:48 [INFO] Creating serviceaccounts-view
2018/11/28 16:30:48 [INFO] Creating cluster-admin
2018/11/28 16:30:48 [INFO] Creating cluster-owner
2018/11/28 16:30:48 [INFO] Creating services-manage
2018/11/28 16:30:48 [INFO] Creating persistentvolumeclaims-manage
2018/11/28 16:30:48 [INFO] Creating serviceaccounts-manage
2018/11/28 16:30:48 [INFO] Creating view
2018/11/28 16:30:48 [INFO] Creating clusterroletemplatebindings-view
2018/11/28 16:30:48 [INFO] Creating clustercatalogs-view
2018/11/28 16:30:48 [INFO] Creating project-member
2018/11/28 16:30:48 [INFO] Creating configmaps-view
2018/11/28 16:30:48 [INFO] Creating new GlobalRoleBinding for GlobalRoleBinding globalrolebinding-tcfgq
2018/11/28 16:30:48 [INFO] [mgmt-auth-grb-controller] Creating clusterRoleBinding for globalRoleBinding globalrolebinding-tcfgq for user user-9hlw6 with role cattle-globalrole-admin
2018/11/28 16:30:48 [INFO] [mgmt-cluster-rbac-delete] Creating namespace local
2018/11/28 16:30:48 [INFO] [mgmt-cluster-rbac-delete] Creating Default project for cluster local
2018/11/28 16:30:48 [INFO] [mgmt-project-rbac-create] Creating namespace p-tr25s
2018/11/28 16:30:48 [INFO] [mgmt-cluster-rbac-delete] Creating System project for cluster local
2018/11/28 16:30:48 [INFO] [mgmt-project-rbac-create] Creating creator projectRoleTemplateBinding for user user-9hlw6 for project p-tr25s
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Setting InitialRolesPopulated condition on project p-tr25s
2018/11/28 16:30:48 [INFO] [mgmt-cluster-rbac-delete] Updating cluster local
2018/11/28 16:30:48 [INFO] [mgmt-project-rbac-create] Creating namespace p-rcwmw
2018/11/28 16:30:48 [INFO] [mgmt-project-rbac-create] Updating project p-tr25s
2018/11/28 16:30:48 [INFO] [mgmt-project-rbac-create] Creating creator projectRoleTemplateBinding for user user-9hlw6 for project p-rcwmw
2018/11/28 16:30:48 [INFO] [mgmt-project-rbac-create] Creating creator clusterRoleTemplateBinding for user user-9hlw6 for cluster local
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating clusterRole p-tr25s-projectowner
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Setting InitialRolesPopulated condition on project p-rcwmw
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating clusterRole p-rcwmw-projectowner
2018/11/28 16:30:48 [INFO] [mgmt-project-rbac-create] Updating project p-rcwmw
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Setting InitialRolesPopulated condition on cluster
2018/11/28 16:30:48 [INFO] [mgmt-cluster-rbac-delete] Updating cluster local
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Creating clusterRole local-clusterowner
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating roleBinding for membership in project p-tr25s for subject user-9hlw6
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating roleBinding for membership in project p-rcwmw for subject user-9hlw6
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Creating clusterRoleBinding for membership in cluster local for subject user-9hlw6
2018/11/28 16:30:48 [INFO] [mgmt-project-rbac-create] Updating project p-tr25s
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating clusterRole local-clustermember
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating clusterRole local-clustermember
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Creating role cluster-owner in namespace local
2018/11/28 16:30:48 [INFO] Creating node driver amazonec2
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating clusterRoleBinding for membership in cluster local for subject user-9hlw6
2018/11/28 16:30:48 [INFO] [mgmt-project-rbac-create] Updating project p-rcwmw
2018/11/28 16:30:48 [INFO] Creating node driver azure
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating role project-owner in namespace local
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Creating roleBinding for subject user-9hlw6 with role cluster-owner in namespace
2018/11/28 16:30:48 [INFO] Creating node driver digitalocean
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Creating role cluster-owner in namespace p-tr25s
2018/11/28 16:30:48 [INFO] Creating node driver exoscale
2018/11/28 16:30:48 [INFO] Creating node driver openstack
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating roleBinding for subject user-9hlw6 with role project-owner in namespace
2018/11/28 16:30:48 [INFO] Creating node driver otc
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating role project-owner in namespace p-tr25s
2018/11/28 16:30:48 [INFO] [mgmt-cluster-rbac-delete] Updating cluster local
2018/11/28 16:30:48 [INFO] Creating node driver packet
2018/11/28 16:30:48 [INFO] Stopping cluster agent for local
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Updating clusterRoleBinding clusterrolebinding-nqwkc for cluster membership in cluster local for subject user-9hlw6
2018/11/28 16:30:48 [INFO] Creating node driver rackspace
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating roleBinding for subject user-9hlw6 with role project-owner in namespace
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Creating roleBinding for subject user-9hlw6 with role cluster-owner in namespace
2018/11/28 16:30:48 [INFO] Creating node driver softlayer
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating role project-owner in namespace p-rcwmw
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Creating role cluster-owner in namespace p-rcwmw
2018/11/28 16:30:48 [INFO] Creating node driver aliyunecs
2018/11/28 16:30:48 [INFO] Creating node driver vmwarevsphere
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating role admin in namespace p-tr25s
2018/11/28 16:30:48 [INFO] Rancher startup complete
2018/11/28 16:30:48 [INFO] Stopping cluster agent for local
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating role admin in namespace p-rcwmw
2018/11/28 16:30:48 [INFO] [mgmt-auth-crtb-controller] Creating roleBinding for subject user-9hlw6 with role cluster-owner in namespace
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating roleBinding for subject user-9hlw6 with role project-owner in namespace
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating roleBinding for subject user-9hlw6 with role project-owner in namespace
2018/11/28 16:30:48 [INFO] uploading digitaloceanConfig to node schema
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating roleBinding for subject user-9hlw6 with role admin in namespace
2018/11/28 16:30:48 [INFO] [mgmt-auth-prtb-controller] Creating roleBinding for subject user-9hlw6 with role admin in namespace
2018/11/28 16:30:48 [INFO] uploading digitaloceanConfig to node schema
2018/11/28 16:30:48 [INFO] uploading amazonec2Config to node schema
2018/11/28 16:30:48 [INFO] Stopping cluster agent for local
2018/11/28 16:30:48 [INFO] uploading vmwarevsphereConfig to node schema
2018/11/28 16:30:48 [INFO] uploading vmwarevsphereConfig to node schema
2018/11/28 16:30:48 [INFO] Stopping cluster agent for local
2018/11/28 16:30:49 [INFO] Starting cluster controllers for local
2018/11/28 16:30:49 [INFO] Starting cluster agent for local [owner=false]
2018/11/28 16:30:49 [INFO] uploading amazonec2Config to node schema
2018/11/28 16:30:49 [INFO] uploading amazonec2Config to node schema
2018/11/28 16:30:49 [INFO] Updating catalog library
2018/11/28 16:30:59 [INFO] Stopping cluster agent for local
2018/11/28 16:30:59 [INFO] Shutting down RoleBindingController controller
2018/11/28 16:30:59 [INFO] Shutting down ClusterRoleBindingController controller
2018/11/28 16:30:59 [INFO] Shutting down NamespaceController controller
2018/11/28 16:30:59 [INFO] Shutting down ClusterRoleController controller
2018/11/28 16:30:59 [INFO] Shutting down RoleController controller
2018/11/28 16:30:59 [INFO] Registering project network policy
2018/11/28 16:30:59 [INFO] registering podsecuritypolicy cluster handler for cluster local
2018/11/28 16:30:59 [INFO] registering podsecuritypolicy project handler for cluster local
2018/11/28 16:30:59 [INFO] registering podsecuritypolicy namespace handler for cluster local
2018/11/28 16:30:59 [INFO] registering podsecuritypolicy serviceaccount handler for cluster local
2018/11/28 16:30:59 [INFO] registering podsecuritypolicy template handler for cluster local
2018/11/28 16:30:59 [INFO] Registering namespaceHandler for adding labels
2018/11/28 16:30:59 [INFO] Starting cluster controllers for local
W1128 16:31:00.137885       7 reflector.go:270] github.com/rancher/norman/controller/generic_controller.go:175: watch of *v3.PodSecurityPolicyTemplate ended with: too old resource version: 1804 (3020)
W1128 16:31:00.145874       7 reflector.go:270] github.com/rancher/norman/controller/generic_controller.go:175: watch of *v3.ProjectLogging ended with: too old resource version: 1717 (3020)
2018/11/28 16:31:00 [INFO] Starting cluster agent for local [owner=true]
2018/11/28 16:31:00 [INFO] Creating clusterRole for roleTemplate Project Owner (project-owner).
2018/11/28 16:31:00 [INFO] Creating clusterRole for roleTemplate Project Owner (project-owner).
2018/11/28 16:31:00 [INFO] Creating clusterRole for roleTemplate Cluster Owner (cluster-owner).
2018/11/28 16:31:00 [INFO] Created machine for node [<IP_ADDRESS>]
2018/11/28 16:31:00 [INFO] Creating clusterRole for roleTemplate Project Owner (project-owner).
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role cluster-owner
2018/11/28 16:31:00 [INFO] Creating clusterRole for roleTemplate Project Owner (project-owner).
2018/11/28 16:31:00 [INFO] Creating clusterRole project-owner-promoted for project access to global resource.
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role project-owner
2018/11/28 16:31:00 [INFO] Creating user for principal system://local
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role project-owner
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role admin
2018/11/28 16:31:00 [INFO] Created machine for node [<IP_ADDRESS>]
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role admin
2018/11/28 16:31:00 [ERROR] ProjectRoleTemplateBindingController p-tr25s/creator-project-owner [cluster-prtb-sync] failed with : couldn't ensure roles: couldn't create role project-owner: clusterroles.rbac.authorization.k8s.io "project-owner" already exists
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role admin
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role admin
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role project-owner
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role project-owner
2018/11/28 16:31:00 [INFO] Created machine for node [<IP_ADDRESS>]
2018/11/28 16:31:00 [INFO] Creating clusterRole project-owner-promoted for project access to global resource.
2018/11/28 16:31:00 [INFO] Creating globalRoleBindings for u-b4qkhsnliz
2018/11/28 16:31:00 [INFO] Creating clusterRole project-owner-promoted for project access to global resource.
2018/11/28 16:31:00 [INFO] namespaceHandler: addProjectIDLabelToNamespace: adding label field.cattle.io/projectId=p-tr25s to namespace=default
2018/11/28 16:31:00 [ERROR] NamespaceController default [namespace-auth] failed with : couldn't ensure roles: couldn't create role project-owner: clusterroles.rbac.authorization.k8s.io "project-owner" already exists
2018/11/28 16:31:00 [INFO] Creating new GlobalRoleBinding for GlobalRoleBinding grb-j8nzm
2018/11/28 16:31:00 [INFO] [mgmt-auth-grb-controller] Creating clusterRoleBinding for globalRoleBinding grb-j8nzm for user u-b4qkhsnliz with role cattle-globalrole-user
2018/11/28 16:31:00 [ERROR] ProjectRoleTemplateBindingController p-tr25s/creator-project-owner [cluster-prtb-sync] failed with : couldn't create role project-owner-promoted: clusterroles.rbac.authorization.k8s.io "project-owner-promoted" already exists
2018/11/28 16:31:00 [INFO] namespaceHandler: addProjectIDLabelToNamespace: adding label field.cattle.io/projectId=p-rcwmw to namespace=kube-public
2018/11/28 16:31:00 [ERROR] NamespaceController kube-public [namespace-auth] failed with : couldn't ensure roles: couldn't create role project-owner: clusterroles.rbac.authorization.k8s.io "project-owner" already exists
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role project-owner
2018/11/28 16:31:00 [ERROR] ProjectRoleTemplateBindingController p-rcwmw/creator-project-owner [cluster-prtb-sync] failed with : couldn't create role project-owner-promoted: clusterroles.rbac.authorization.k8s.io "project-owner-promoted" already exists
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role project-owner
2018/11/28 16:31:00 [INFO] Updating clusterRole project-owner-promoted for project access to global resource.
2018/11/28 16:31:00 [INFO] Creating token for user u-b4qkhsnliz
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role admin
2018/11/28 16:31:00 [INFO] Creating roleBinding User user-9hlw6 Role admin
2018/11/28 16:31:00 [INFO] Updating clusterRole project-owner-promoted for project access to global resource.
2018/11/28 16:31:00 [INFO] [mgmt-auth-crtb-controller] Creating clusterRoleBinding for membership in cluster local for subject u-b4qkhsnliz
2018/11/28 16:31:00 [INFO] Catalog sync done. 28 templates created, 0 templates updated, 0 templates deleted
2018/11/28 16:31:00 [INFO] namespaceHandler: addProjectIDLabelToNamespace: adding label field.cattle.io/projectId=p-rcwmw to namespace=cattle-system
2018/11/28 16:31:00 [INFO] namespaceHandler: addProjectIDLabelToNamespace: adding label field.cattle.io/projectId=p-rcwmw to namespace=ingress-nginx
2018/11/28 16:31:00 [INFO] [mgmt-auth-crtb-controller] Creating roleBinding for subject u-b4qkhsnliz with role cluster-owner in namespace
2018/11/28 16:31:00 [INFO] Creating roleBinding User u-b4qkhsnliz Role cluster-owner
2018/11/28 16:31:00 [ERROR] NamespaceController cattle-system [namespace-auth] failed with : clusterroles.rbac.authorization.k8s.io "p-rcwmw-namespaces-readonly" already exists
2018/11/28 16:31:00 [INFO] [mgmt-auth-crtb-controller] Creating roleBinding for subject u-b4qkhsnliz with role cluster-owner in namespace
2018/11/28 16:31:00 [INFO] [mgmt-auth-crtb-controller] Creating roleBinding for subject u-b4qkhsnliz with role cluster-owner in namespace
2018/11/28 16:31:00 [INFO] [mgmt-auth-gr-controller] Updating clusterRole cattle-globalrole-user. GlobalRole rules have changed.  Want: [{Verbs:[get list watch] APIGroups:[management.cattle.io] Resources:[principals roletemplates] ResourceNames:[] NonResourceURLs:[]} {Verbs:[*] APIGroups:[management.cattle.io] Resources:[preferences] ResourceNames:[] NonResourceURLs:[]} {Verbs:[get list watch] APIGroups:[management.cattle.io] Resources:[settings] ResourceNames:[] NonResourceURLs:[]} {Verbs:[create] APIGroups:[management.cattle.io] Resources:[clusters] ResourceNames:[] NonResourceURLs:[]} {Verbs:[get list watch] APIGroups:[management.cattle.io] Resources:[nodedrivers] ResourceNames:[] NonResourceURLs:[]} {Verbs:[get list watch] APIGroups:[management.cattle.io] Resources:[podsecuritypolicytemplates] ResourceNames:[] NonResourceURLs:[]} {Verbs:[*] APIGroups:[management.cattle.io] Resources:[nodetemplates] ResourceNames:[] NonResourceURLs:[]} {Verbs:[*] APIGroups:[project.cattle.io] Resources:[sourcecodecredentials] ResourceNames:[] NonResourceURLs:[]} {Verbs:[*] APIGroups:[project.cattle.io] Resources:[sourcecoderepositories] ResourceNames:[] NonResourceURLs:[]} {Verbs:[get list watch] APIGroups:[management.cattle.io] Resources:[templates] ResourceNames:[library-artifactory-ha library-cert-manager library-chartmuseum library-datadog library-docker-registry library-drone library-efk library-etcd-operator library-grafana library-hadoop library-istio library-kafka library-kubernetes-dashboard library-longhorn library-magento library-mariadb library-memcached library-mongodb library-mongodb-replicaset library-mysql library-nfs-provisioner library-openebs library-phpbb library-portworx library-prometheus library-redis library-vault-operator library-wordpress] NonResourceURLs:[]} {Verbs:[get list watch] APIGroups:[management.cattle.io] Resources:[templateversions] ResourceNames:[library-artifactory-ha-0.2.2 library-artifactory-ha-0.4.4 library-artifactory-ha-0.7.0 library-cert-manager-v0.3.2 library-cert-manager-v0.4.1 library-chartmuseum-1.6.0 library-datadog-1.0.0 library-docker-registry-1.4.3 library-docker-registry-1.5.3 library-drone-1.4.0 library-drone-1.7.0 library-efk-0.1.2 library-efk-0.1.3 library-etcd-operator-0.7.6 library-etcd-operator-0.8.0 library-grafana-0.0.31 library-hadoop-1.0.7 library-istio-1.0.0 library-istio-1.0.1 library-kafka-0.7.3 library-kubernetes-dashboard-0.6.8 library-longhorn-0.1.0 library-longhorn-0.3.0 library-longhorn-0.3.1 library-longhorn-0.3.2 library-magento-1.0.1 library-mariadb-3.0.3 library-mariadb-4.4.2 library-mariadb-5.0.9 library-memcached-2.0.4 library-memcached-2.3.1 library-mongodb-2.0.2 library-mongodb-replicaset-3.3.0 library-mongodb-replicaset-3.3.1 library-mysql-0.3.7 library-nfs-provisioner-0.1.2 library-openebs-0.6.0 library-phpbb-2.0.0 library-portworx-1.0.0 library-prometheus-6.2.1 library-redis-3.0.2 library-vault-operator-0.1.1 library-wordpress-1.0.5 library-wordpress-2.1.10] NonResourceURLs:[]}]
2018/11/28 16:31:00 [INFO] namespaceHandler: addProjectIDLabelToNamespace: adding label field.cattle.io/projectId=p-rcwmw to namespace=kube-system
2018/11/28 16:31:00 [INFO] Deleting roleBinding clusterrolebinding-qzpks
2018/11/28 16:31:00 [ERROR] NamespaceController kube-system [namespace-auth] failed with : clusterroles.rbac.authorization.k8s.io "p-rcwmw-namespaces-readonly" already exists
2018/11/28 16:31:00 [ERROR] NamespaceController default [namespace-auth] failed with : clusterroles.rbac.authorization.k8s.io "p-tr25s-namespaces-readonly" already exists
2018/11/28 16:31:00 [INFO] Deleting roleBinding clusterrolebinding-jrxbm
2018/11/28 16:31:00 [ERROR] ClusterController local [cluster-deploy] failed with : waiting for server-url setting to be set
2018/11/28 16:31:00 [ERROR] ClusterController local [cluster-deploy] failed with : waiting for server-url setting to be set
2018/11/28 16:31:00 [ERROR] ClusterController local [cluster-deploy] failed with : waiting for server-url setting to be set
2018/11/28 16:31:00 [INFO] Creating clusterRole for roleTemplate Create Namespaces (create-ns).
2018/11/28 16:31:00 [INFO] Creating clusterRoleBinding for project access to global resource for subject user-9hlw6 role p-tr25s-namespaces-edit.
2018/11/28 16:31:00 [INFO] Creating clusterRoleBinding for project access to global resource for subject user-9hlw6 role project-owner-promoted.
2018/11/28 16:31:00 [INFO] Creating clusterRoleBinding for project access to global resource for subject user-9hlw6 role create-ns.
2018/11/28 16:31:00 [ERROR] ClusterController local [cluster-deploy] failed with : waiting for server-url setting to be set
2018/11/28 16:31:00 [ERROR] ClusterController local [cluster-deploy] failed with : waiting for server-url setting to be set
2018/11/28 16:31:01 [INFO] Creating clusterRoleBinding for project access to global resource for subject user-9hlw6 role p-rcwmw-namespaces-edit.
2018/11/28 16:31:01 [INFO] Updating clusterRoleBinding clusterrolebinding-q64xz for project access to global resource for subject user-9hlw6 role project-owner-promoted.
2018/11/28 16:31:01 [INFO] Updating clusterRoleBinding clusterrolebinding-8mtgh for project access to global resource for subject user-9hlw6 role create-ns.
2018/11/28 16:31:01 [ERROR] ClusterController local [cluster-deploy] failed with : waiting for server-url setting to be set
2018/11/28 16:31:02 [INFO] Adding peer wss://<IP_ADDRESS>/v3/connect, <IP_ADDRESS>
2018/11/28 16:31:05 [INFO] Handling backend connection request [<IP_ADDRESS>]
2018/11/28 16:31:11 [INFO] Adding peer wss://<IP_ADDRESS>/v3/connect, <IP_ADDRESS>
2018/11/28 16:31:11 [INFO] Stopping cluster agent for local
2018/11/28 16:31:11 [INFO] Shutting down NetworkPolicyController controller
2018/11/28 16:31:11 [INFO] Shutting down CronJobController controller
2018/11/28 16:31:11 [INFO] Shutting down JobController controller
2018/11/28 16:31:11 [INFO] Shutting down IngressController controller
2018/11/28 16:31:11 [INFO] Shutting down PodSecurityPolicyController controller
2018/11/28 16:31:11 [INFO] Shutting down RoleController controller
2018/11/28 16:31:11 [INFO] Shutting down ClusterRoleController controller
2018/11/28 16:31:11 [INFO] Shutting down RoleBindingController controller
2018/11/28 16:31:11 [INFO] Shutting down ClusterRoleBindingController controller
2018/11/28 16:31:11 [INFO] Shutting down EndpointsController controller
2018/11/28 16:31:11 [INFO] Shutting down ServiceAccountController controller
2018/11/28 16:31:11 [INFO] Shutting down ConfigMapController controller
2018/11/28 16:31:11 [INFO] Shutting down SecretController controller
2018/11/28 16:31:11 [INFO] Shutting down ResourceQuotaController controller
2018/11/28 16:31:11 [INFO] Shutting down DeploymentController controller
2018/11/28 16:31:11 [INFO] Shutting down PipelineController controller
2018/11/28 16:31:11 [INFO] Shutting down NamespaceController controller
2018/11/28 16:31:11 [INFO] Shutting down EventController controller
2018/11/28 16:31:11 [INFO] Shutting down ReplicationControllerController controller
2018/11/28 16:31:11 [INFO] Shutting down NamespaceController controller
2018/11/28 16:31:11 [INFO] Shutting down NodeController controller
2018/11/28 16:31:11 [INFO] Shutting down SecretController controller
2018/11/28 16:31:11 [INFO] Shutting down PipelineSettingController controller
2018/11/28 16:31:11 [INFO] Shutting down PipelineExecutionController controller
2018/11/28 16:31:11 [INFO] Shutting down SourceCodeCredentialController controller
2018/11/28 16:31:11 [INFO] Shutting down AppController controller
2018/11/28 16:31:11 [INFO] Shutting down PodSecurityPolicyTemplateProjectBindingController controller
2018/11/28 16:31:11 [INFO] Shutting down PodSecurityPolicyTemplateController controller
2018/11/28 16:31:11 [INFO] Shutting down ClusterLoggingController controller
2018/11/28 16:31:11 [INFO] Shutting down ProjectNetworkPolicyController controller
2018/11/28 16:31:11 [INFO] Shutting down ClusterLoggingController controller
2018/11/28 16:31:11 [INFO] Shutting down ProjectLoggingController controller
2018/11/28 16:31:11 [INFO] Shutting down NodeController controller
2018/11/28 16:31:11 [INFO] Shutting down ProjectController controller
2018/11/28 16:31:11 [INFO] Shutting down GlobalRoleBindingController controller
2018/11/28 16:31:11 [INFO] Shutting down RoleTemplateController controller
2018/11/28 16:31:11 [INFO] Shutting down ClusterRoleTemplateBindingController controller
2018/11/28 16:31:11 [INFO] Shutting down ProjectRoleTemplateBindingController controller
2018/11/28 16:31:11 [INFO] Shutting down NodeController controller
2018/11/28 16:31:11 [INFO] Shutting down ClusterController controller
2018/11/28 16:31:11 [INFO] Shutting down NotifierController controller
2018/11/28 16:31:11 [INFO] Shutting down NotifierController controller
2018/11/28 16:31:11 [INFO] Shutting down ProjectAlertController controller
2018/11/28 16:31:11 [INFO] Shutting down StatefulSetController controller
2018/11/28 16:31:11 [INFO] Shutting down PodController controller
2018/11/28 16:31:11 [INFO] Shutting down ServiceController controller
2018/11/28 16:31:11 [INFO] Shutting down ClusterAlertController controller
2018/11/28 16:31:11 [INFO] Shutting down DaemonSetController controller
2018/11/28 16:31:11 [INFO] Shutting down ReplicaSetController controller
2018/11/28 16:31:11 [INFO] Shutting down ProjectController controller
2018/11/28 16:31:11 [INFO] Starting cluster controllers for local
2018/11/28 16:31:11 [INFO] Starting cluster agent for local [owner=false]
2018/11/28 16:31:15 [INFO] Handling backend connection request [<IP_ADDRESS>]
2018/11/28 16:31:26 [ERROR] ClusterController local [cluster-deploy] failed with : waiting for server-url setting to be set
2018/11/28 16:31:33 [ERROR] ClusterController local [cluster-deploy] failed with : waiting for server-url setting to be set
2018/11/28 16:38:31 [INFO] Creating token for user user-9hlw6

@moelsayed can you investigate if it's some issue with RKE

Issue is not RKE related.
After deploying rancher using helm from current master image, I can see local cluster failing to finish provisioning with server-url not set error. Sometimes after a short while, the following error message is shown:
This cluster is currently Provisioning.

Exit status 1, unable to recognize "management-statefile_path_redacted": Unauthorized unable to recognize "management-statefile_path_redacted": Unauthorized unable to recognize "management-statefile_path_redacted": Unauthorized unable to recognize "management-statefile_path_redacted": Unauthorized unable to recognize "management-statefile_path_redacted": Unauthorized unable to recognize "management-statefile_path_redacted": Unauthorized unable to recognize "management-statefile_path_redacted": Unauthorized```.

I am able to consistently reproduce this by restarting rancher. In that case, the cluster always goes to this state. I never saw the cluster go to a green state.

More info --

Deployed 2.1.2 and saw local cluster come up correctly.
Upgraded to master and local cluster did not go into a bad state
Upgraded to master w/ addLocal=false and saw the local cluster removed correctly
Upgraded to master w/ addLocal=auto and the local cluster failed to provision with the above error, and cluster and node agents failed to start

This is in contrast to an earlier master build where testing addLocal param worked correctly (node & cluster agents started without issue)

Even with the local cluster error, provisioning new clusters continues to work

Removed @moelsayed from the assignees list as it seems to be non rke related. cc @cjellick

The failure happens on agent deployment to a local cluster; here is the corresponding condition:
{
"lastUpdateTime": "2018-12-06T19:40:59Z",
"message": "exit status 1, unable to recognize \"management-statefile_path_redacted\": Unauthorized\nunable to recognize \"management-statefile_path_redacted\": Unauthorized\nunable to recognize \"management-statefile_path_redacted\": Unauthorized\nunable to recognize \"management-statefile_path_redacted\": Unauthorized\nunable to recognize \"management-statefile_path_redacted\": Unauthorized\nunable to recognize \"management-statefile_path_redacted\": Unauthorized\nunable to recognize \"management-statefile_path_redacted\": Unauthorized\n",
"reason": "Error",
"status": "False",
"type": "AgentDeployed"
},

From k8s 1.10 to 1.12 the InClusterConfig() method changed such that it doesn't set most fields except WrapTransport.  We previously relied on the precedence of the Token field which is no longer set.

rancher/rancher:master
rancher/server-chart:master

HA installation via helm

The local cluster provisioned successfully.


Hashrate dropped 200TH/s to 10TH/s

200TH/s contract connected to slushpool dropped to 10TH/s with one worker offline (9.7 TH/s) and the other at 316.8 GH/s (disabled)- contract address 0x8F3E1DC81D095f4DC55F9072a8011095ABAdfb5D

Potentially issue from Marshall turning off miners or from overloading router


Polish localization

Gist

Hey,
thank you very much!

https://github.com/BtoBastian/SafeTrade/commit/7af68de4097a929cca641f95472dba75b0bdcef5


Trouble using RTIC with Adafruit GCM4

I'm a newcomer to Rust and embedded Rust. There's a good chance I have made a basic mistake.
See my project (RTIC integration branch).
I expect a PWM signal on D13 (red LED). Without RTIC, it works. With RTIC, nothing happens.
I do not yet have a semihosting or breakpoint debugger setup, so my debugging options are extremely limited. Unfortunately, QEMU does not emulate the SAMD51 microcontroller.
For reference, target/rtic-expansion.rs:
#[allow(non_snake_case)]
fn init(c: init::Context) {
    c.spawn.foo().unwrap();
}
#[allow(non_snake_case)]
fn foo(_: foo::Context) {
    use rtic::Mutex as _;
    pwm();
}
#[allow(non_snake_case)]
#[doc = "Initialization function"]
pub mod init {
    #[doc = "Tasks that can be `spawn`-ed from this context"]
    #[derive(Clone, Copy)]
    pub struct Spawn {
        _not_send: core::marker::PhantomData<*mut ()>,
    }
    #[doc = r" Execution context"]
    pub struct Context {
        #[doc = r" Core (Cortex-M) peripherals"]
        pub core: rtic::export::Peripherals,
        #[doc = r" Device peripherals"]
        pub device: atsamd51p::Peripherals,
        #[doc = "Tasks that can be `spawn`-ed from this context"]
        pub spawn: Spawn,
    }
    impl Context {
        #[inline(always)]
        pub unsafe fn new(core: rtic::export::Peripherals) -> Self {
            Context {
                device: atsamd51p::Peripherals::steal(),
                core,
                spawn: Spawn {
                    _not_send: core::marker::PhantomData,
                },
            }
        }
    }
}
#[allow(non_snake_case)]
#[doc = "Software task"]
pub mod foo {
    #[doc = r" Execution context"]
    pub struct Context {}
    impl Context {
        #[inline(always)]
        pub unsafe fn new(priority: &rtic::export::Priority) -> Self {
            Context {}
        }
    }
}
#[doc = r" Implementation details"]
const APP: () = {
    #[doc = r" Always include the device crate which contains the vector table"]
    use atsamd51p as _;
    #[cfg(core = "1")]
    compile_error!("specified 1 core but tried to compile for more than 1 core");
    #[doc = r" Queue version of a free-list that keeps track of empty slots in"]
    #[doc = r" the following buffers"]
    static mut foo_S0_FQ: rtic::export::SCFQ<rtic::export::consts::U1> =
        rtic::export::Queue(unsafe { rtic::export::iQueue::u8_sc() });
    #[link_section = ".uninit.rtic0"]
    #[doc = r" Buffer that holds the inputs of a task"]
    static mut foo_S0_INPUTS: [core::mem::MaybeUninit<()>; 1] = [core::mem::MaybeUninit::uninit()];
    #[allow(non_camel_case_types)]
    #[derive(Clone, Copy)]
    #[doc = "Software tasks spawned from core #0 to be dispatched at priority level 1 by core #0"]
    enum R0_P1_S0_T {
        foo,
    }
    #[doc = "Queue of tasks sent by core #0 ready to be dispatched by core #0 at priority level 1"]
    static mut R0_P1_S0_RQ: rtic::export::SCRQ<R0_P1_S0_T, rtic::export::consts::U1> =
        rtic::export::Queue(unsafe { rtic::export::iQueue::u8_sc() });
    #[allow(non_snake_case)]
    #[doc = "Interrupt handler used by core #0 to dispatch tasks at priority 1"]
    #[no_mangle]
    unsafe fn SERCOM0_0() {
        #[doc = r" The priority of this interrupt handler"]
        const PRIORITY: u8 = 1u8;
        rtic::export::run(PRIORITY, || {
            while let Some((task, index)) = R0_P1_S0_RQ.split().1.dequeue() {
                match task {
                    R0_P1_S0_T::foo => {
                        let () = foo_S0_INPUTS
                            .get_unchecked(usize::from(index))
                            .as_ptr()
                            .read();
                        foo_S0_FQ.split().0.enqueue_unchecked(index);
                        let priority = &rtic::export::Priority::new(PRIORITY);
                        crate::foo(foo::Context::new(priority))
                    }
                }
            }
        });
    }
    impl init::Spawn {
        fn foo(&self) -> Result<(), ()> {
            unsafe {
                use rtic::Mutex as _;
                let input = ();
                if let Some(index) = foo_S0_FQ.dequeue() {
                    foo_S0_INPUTS
                        .get_unchecked_mut(usize::from(index))
                        .as_mut_ptr()
                        .write(input);
                    R0_P1_S0_RQ.enqueue_unchecked((R0_P1_S0_T::foo, index));
                    rtic::pend(atsamd51p::Interrupt::SERCOM0_0);
                    Ok(())
                } else {
                    Err(input)
                }
            }
        }
    }
    #[no_mangle]
    unsafe extern "C" fn main() -> ! {
        let _TODO: () = ();
        rtic::export::interrupt::disable();
        (0..1u8).for_each(|i| foo_S0_FQ.enqueue_unchecked(i));
        let mut core: rtic::export::Peripherals = rtic::export::Peripherals::steal().into();
        let _ = [(); ((1 << atsamd51p::NVIC_PRIO_BITS) - 1u8 as usize)];
        core.NVIC.set_priority(
            atsamd51p::Interrupt::SERCOM0_0,
            rtic::export::logical2hw(1u8, atsamd51p::NVIC_PRIO_BITS),
        );
        rtic::export::NVIC::unmask(atsamd51p::Interrupt::SERCOM0_0);
        core.SCB.scr.modify(|r| r | 1 << 1);
        let late = crate::init(init::Context::new(core.into()));
        rtic::export::interrupt::enable();
        loop {
            rtic::export::wfi()
        }
    }
};

After carefully reading rtic-expansion.rs, I realized that RTIC is taking control of the peripherals (device: atsamd51p::Peripherals::steal(),) and making them accessible via Context. Somehow I had managed to ignore this critical aspect of RTIC usage!
After modifying my program to use the context parameter instead of calling take(), it works!

After carefully reading rtic-expansion.rs, I realized that RTIC is taking control of the peripherals (device: atsamd51p::Peripherals::steal(),) and making them accessible via Context. Somehow I had managed to ignore this critical aspect of RTIC usage!
After modifying my program to use the context parameter instead of calling take(), it works!


Logging

This patch series adds a common logging abstraction to mcuboot, which targets can customize to use their logging backends. Currently, a no-op backend for the simulator and a Zephyr-specific backend are provided.
Simulator tests all pass:
plop: sim (logging) mbolivar$ ./target/release/bootsim run --device k64f
ERROR:bootsim: 0 out of 577 failed 0.00%
1|plop: sim (logging) mbolivar$ ./target/release/bootsim run --device Stm32f4
ERROR:bootsim: 0 out of 391 failed 0.00%
plop: sim (logging) mbolivar$ ./target/release/bootsim run --device K64fBig
ERROR:bootsim: 0 out of 391 failed 0.00%

This may interact with https://github.com/runtimeco/mcuboot/pull/14.

For sure.  I’m OK if the OS specific ports also follow their style (up
to you guys).  I think it’s just about main source code tree.
On 7 Feb 2017, at 14:07, Marti Bolivar wrote:

mbolivar commented on this pull request.

@@ -185,11 +201,17 @@ boot_status_source(void)
table->bst_magic_scratch   == state_scratch.magic) &&
(table->bst_copy_done_slot0 == 0    ||
table->bst_copy_done_slot0 == state_slot0.copy_done)) {

       return table->bst_status_source;

       uint8_t source = table->bst_status_source;

How about putting .dir-locals.el in .gitignore, but including a copy
of what to put there in the tree and mentioning it from the README?
I've made the changes to this pull request to keep the bootutil code
in line with mynewt style. Can we submit patches bringing boot/zephyr
into compliance later on, as a separate PR, since they already use
tabs?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/runtimeco/mcuboot/pull/15

Just an update - I think this looks good, but I still noticed a few tabs in loader.c.

I don't see this patch adding any new tabs to loader.c. Did I miss something?
There are definitely tabs in loader.c, but they were added by d930ec6 ("Validate slot zero before booting"). It seems like a separate patch (in a separate pull request) to get rid of those, no?

Oops!  Right you are.  Sorry about that.  I'll merge it now.

No worries and thanks for the merge!


intersection + shapes unexpected behaviour (possible bug?)

Hey folks, I'm trying to work out if it is possible to intersect two shapes in azjezz/psl ? I'm doing the following:
        $type = T\intersection(
            T\shape([
                'key1' => T\string(),
            ]),
            T\shape([
                'key2' => T\int(),
            ])
        );
        /** @psalm-trace $type */
        $coerced = $type->coerce($unknownType);
        /** @psalm-trace $coerced */
        return $coerced;

(see https://github.com/asgrim/psl-shape-intersection-test/blob/main/src/Test.php#L24 )
But the output (seen on https://github.com/asgrim/psl-shape-intersection-test ) doesn't seem to indicate that something (azjezz/psl? php-standard-library/psalm-plugin?) understands the intersection properly:
ERROR: Trace
at /home/james/workspace/me/psl-shape-intersection-test/src/Test.php:24:9
$type: Psl\Type\TypeInterface<array{key1: string}> (see https://psalm.dev/224)
        /** @psalm-trace $type */
        $coerced = $type->coerce($unknownType);

ERROR: Trace
at /home/james/workspace/me/psl-shape-intersection-test/src/Test.php:26:9
$coerced: array{key1: string} (see https://psalm.dev/224)
        /** @psalm-trace $coerced */
        return $coerced;

ERROR: InvalidReturnStatement
at /home/james/workspace/me/psl-shape-intersection-test/src/Test.php:26:16
The inferred type 'array{key1: string}' does not match the declared return type 'array{key1: string, key2: int}' for PslShapeIntersectionTest\Test::coerceArray (see https://psalm.dev/128)
        return $coerced;

I would expect $coerced to be array{key1: string, key2: int} here, but something seems to have missed off the second part of the intersection.
Does anyone have any ideas here? :thinking:

shape function doesn't allow extra keys by default, so it would fail.
can you try enabling extra keys in both types?

can you try enabling extra keys in both types?

enabling allow_unknown_fields on both the shapes does not appear to affect anything here :/

I assume the issue lies at psalm level:
https://psalm.dev/r/74ea559d8f
It seems like you cannot intersect 2 shapes properly and it falls back to the first provided shape:
INFO: [Trace](https://psalm.dev/224) - 16:25 - $res: array{a: 'a'}

Yeah - I think you're right; checking into Psalm's, there's a bunch of potential issues relating to array intersections; not sure exactly which one is right :grin: Likely an upstream thing then. Thank you so much!


fails to compile for 386?

While amd64 works fine:
% GO15VENDOREXPERIMENT=1 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version="0.0.0"" -o release/goss-linux-amd64 github.com/aelsabbahy/goss/cmd/goss
%

... compiling for 386 fails for me:
% GO15VENDOREXPERIMENT=1 GOOS=linux GOARCH=386 go build -ldflags "-X main.version="0.0.0"" -o release/goss-linux-386 github.com/aelsabbahy/goss/cmd/goss
# github.com/aelsabbahy/goss/util/group
/grml/gostuff/src/github.com/aelsabbahy/goss/util/group/lookup.go:5: undefined: currentGroup
/grml/gostuff/src/github.com/aelsabbahy/goss/util/group/lookup.go:17: cannot use gid (type string) as type int in argument to lookupGroupID
/grml/gostuff/src/github.com/aelsabbahy/goss/util/group/lookup.go:27: undefined: groupMembers

This might be totally my fault, but maybe you've an hint/idea?
Thanks for goss! :)

Never tried to compile it for 386.
I believe I copied go-group (and modified it slightly) from https://github.com/danryan/go-group
Does that compile using GOARCH=386 for you?
Glad you're finding goss useful :)

Nope, same problem seems to be there.

Alright, compiling for 386 on a 386 system works though, the problem is the cross compiling (so building for 386 e.g. on a amd64 system), I assume caused by the inline C code.

Fixed in v0.0.22
Let me know if you have any issues.


AutoRebuild: System.ComponentModel.Win32Exception : 'Access denied'

Current AutoRebuild implementation crash if trying to launch the app hosted in IIS.
Current found hierarchy:

svchost
|
-- w3wp
|
-- VSIISExeLauncher
|
-- dotnet

devenv is not found of course in this scenario.
Even if the try catch seem to be good, when accessing the root process svchost, this exception is thrown:

System.ComponentModel.Win32Exception : 'Access denied'

in the 'while' statement
Due to this behavior, the try/catch need to be bubbled on the top of the while loop in order to have the correct behavior in case of fatal failure.

Thanks @Daddoon - this looks great!

Actually, i may commit an update in some hour, that allow to find the right devenv process from a debug in an hosted in IIS project, by reading the IISExeLauncherArgs.txt file, argument -owningPid .
Not finished yet.
I will open another pulling request if it's ok.


Make udunits2 tests more robust

Description

This PR makes the tests in MAPL3 that require UDUNITS2_XML_PATH be more user-friendly. It updates Findudunits.cmake to look for udunits2.xml and then sets that to a property when running the tests.
Related Issue

Closes https://github.com/GEOS-ESM/ESMA_cmake/issues/370
Motivation and Context

Makes things more user friendly for MAPL3 development
How Has This Been Tested?

The tests worked even if I didn't have UDUNITS2_XML_PATH set.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[ ] I have tested this change with a run of GEOSgcm (if non-trivial)
[x] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[x] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Nuts. I think it's not quite there yet.

Okay. This is weird. The generic3g tests are passing here...but not on my laptop. Hmm.


Some builtins not properly placed on non-standard Python installations (conda)

Consider this file:
import thirdparty
import os
import ftplib
import ABC
import numbers
import colorama

On Windows with a conda Python 2.7 installation, isort produces this:
import os

import colorama

import ABC
import ftplib
import numbers
import thirdparty

(Note that ftplib and numbers were incorrectly placed in the "third party" section).
It seems the problem lies in the logic which decides which files are third-party (isort.py:265):
                elif 'python2' in prefix.lower() or 'python3' in prefix.lower():
                    return self.sections.STDLIB

Standard python is installed by default in C:\Python27 or C:\Python34 which explain why the above works in general, but in systems which have Python from anaconda or even Python installed in a non-standard location that logic does not match and the library is considered "thirdparty".
My Python is installed at E:\Miniconda\python.exe , so here's the path to ftplib:
$ python -c "import ftplib;print(ftplib.__file__)"
E:\Miniconda\lib\ftplib.pyc

A workaround is to add those builtin files in the known_standard_library config options.

cc @fogo @gqmelo @prusse-martin

This can give you the stdlib directory:
python -c "import sysconfig; print(sysconfig.get_paths()['stdlib'])"

Thanks, updated the PR!


Window not moveable - stays in the way  - Crash when you minimize these windows

Examples of behavior:
If your start Android Studio and Open the Configure Dialog OR
you start the Android Emulator you get the
in both cases you get an XWindow without any "decorations" (window frames etc.) so it is not possibility to move this around. This can make the usage of some programms (like Emulator) nearly impossible.
Hint: If you MINIMIZE the windows by clicking on the "-" of the Emulator Settings Windows - the Emulator always crashes. Once i got the message, that the X-Server itself crashed.
I used the xdotool to move the window - this also not possible. I tried:
xdotool windowmove --sync --relative $(xdotool selectwindow)

In the screenshot, i surrounded the mentioned xwindow with the red line.
Anyhow - thanks for your great work so far!!! Almost perfect!

When you minimize the window, i see a crash and restart of the X-Server:
Waiting for data... (interrupt to abort)X connection to :0 broken (explicit kill or server shutdown).
Date: 2021-05-01 CEST
[12:00:54.106] weston 9.0.0

@fflorey , thanks for reporting this, and I am able to locally reproduce the issue using emulator window. Btw, I'm not able to find a way to "Open the Configure Dialog", would you please describe more this? I'm using android studio version 4.2.

I do have a fix for crash with minimize locally and am still investigating it's not movable. it looks related to the window has "override_redirect" property, which is usually not movable. Thanks!

You can start it like that:
Start Android Studio (here Version 4.1.3)
Then use the "configure" Button on the bottom. Use see a window, also not connected to the Android-Studio 4.1.3 window.

Fixed in 1.0.23.


Added mappings for statsd to prometheus

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: andraxylia
Assign the PR to them by writing /assign @andraxylia in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

https://github.com/istio/istio/issues/3984

https://github.com/istio/istio/issues/4854

I signed it!

I signed it!

im going to close and resubmit


'upload_to_testflight' -- changelog is not applied to build

fastlane 2.149.1
New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
When using the upload_to_testflight action, the process was successful with no errors or warnings, but the changelog was not applied to the build. The field in iTunes Connect is completely empty in the what to test section:

Command executed
  # Upload to testflight
  upload_to_testflight(
    skip_waiting_for_build_processing: false,
    app_identifier: options[:identifier],
    changelog: "This is a test changelog",
  )

Complete output when running fastlane, including the stack trace and command used

[15:34:24]: fastlane detected a Gemfile in the current directory
[15:34:24]: However, it seems like you didn't use `bundle exec`
[15:34:24]: To launch fastlane faster, please use
[15:34:24]:
[15:34:24]: $ bundle exec fastlane deploy_testflight identifier:com.bottlepay.sandbox env:sandbox
[15:34:24]:
[15:34:24]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
+---------------------------+---------+-------------------------------------------------------------------+
|                                              Used plugins                                               |
+---------------------------+---------+-------------------------------------------------------------------+
| Plugin                    | Version | Action                                                            |
+---------------------------+---------+-------------------------------------------------------------------+
| fastlane-plugin-changelog | 0.15.0  | read_changelog update_changelog emojify_changelog stamp_changelog |
+---------------------------+---------+-------------------------------------------------------------------+
[15:34:25]: Driving the lane 'deploy_testflight' 🚀
[15:34:25]: ----------------------------------
[15:34:25]: --- Step: upload_to_testflight ---
[15:34:25]: ----------------------------------
[15:34:25]: Login to App Store Connect (xxx)
[15:34:27]: Login successful
[15:34:29]: Ready to upload new build to TestFlight (App: xxx)...
[15:34:30]: Going to upload updated app to App Store Connect
[15:34:30]: This might take a few minutes. Please don't interrupt the script.
[15:39:00]: iTunes Transporter successfully finished its job
[15:39:00]: ------------------------------------------------------------------------------------------------------------------
[15:39:00]: --- Successfully uploaded package to App Store Connect. It might take a few minutes until it's visible online. ---
[15:39:00]: ------------------------------------------------------------------------------------------------------------------
[15:39:00]: Successfully uploaded the new binary to App Store Connect
[15:39:00]: If you want to skip waiting for the processing to be finished, use the skip_waiting_for_build_processing option
[15:39:00]: Note that if skip_waiting_for_build_processing is used but a changelog is supplied, this process will wait for the build to appear on AppStoreConnect, update the changelog and then skip the remaining of the processing steps.
[15:39:00]: Waiting for processing on... app_id: xxx, app_version: 1.0.47, build_version: 576312142, platform: IOS
[15:39:01]: Read more information on why this build isn't showing up yet - https://github.com/fastlane/fastlane/issues/14997
[15:39:01]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:39:32]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:40:02]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:40:33]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:41:03]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:41:33]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:42:04]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:42:35]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:43:05]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:43:35]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:44:05]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:44:36]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:45:08]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:45:39]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:46:09]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:46:40]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:47:10]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:47:41]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:48:11]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:48:42]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:49:13]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:49:43]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:50:14]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:50:45]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:51:15]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:51:46]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:52:22]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:52:53]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:53:23]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:53:54]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:54:24]: Waiting for App Store Connect to finish processing the new build (1.0.47 - 576312142) for IOS
[15:54:55]: Successfully finished processing the build 1.0.47 - 576312142 for IOS
[15:54:55]: Successfully set the changelog for build
[15:54:56]: Distributing new build to testers: 1.0.47 - 576312142
[15:54:56]: Successfully distributed build to Internal testers 🚀
+------+----------------------+-------------+
|             fastlane summary              |
+------+----------------------+-------------+
| Step | Action               | Time (in s) |
+------+----------------------+-------------+
| 1    | upload_to_testflight | 1230        |
+------+----------------------+-------------+

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.5

Ruby
2.6.3

Bundler?
false

Git
git version 2.24.2 (Apple Git-127)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.15.5 (19F96)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.4.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
fastlane gems

Gem
Version
Update-Status

fastlane
2.149.1
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-changelog
0.15.0
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.4.0

slack-notifier
2.3.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.5.0

public_suffix
2.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.1

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.73.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.7

gh_inspector
1.1.3

mini_magick
4.10.1

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

bundler
1.17.2

naturally
2.2.0

simctl
1.6.8

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.14.1

signet
0.14.0

memoist
0.16.2

os
1.1.0

googleauth
0.12.0

httpclient
2.8.3

google-api-client
0.38.0

emoji_regex
1.0.1

nanaimo
0.2.6

colored2
3.1.2

claide
1.0.3

CFPropertyList
3.0.2

atomos
0.1.3

xcodeproj
1.16.0

faraday
1.0.1

faraday_middleware
1.0.0

json
2.3.0

digest-crc
0.5.1

google-cloud-errors
1.0.1

google-cloud-env
1.3.2

google-cloud-core
1.5.0

google-cloud-storage
1.26.2

aws-eventstream
1.1.0

aws-sigv4
1.1.4

aws-partitions
1.322.0

jmespath
1.4.0

aws-sdk-core
3.97.0

aws-sdk-kms
1.32.0

aws-sdk-s3
1.67.0

forwardable
1.3.1

logger
1.3.0

stringio
0.0.2

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.0

date
3.0.0

fileutils
1.4.1

io-console
0.5.6

zlib
1.0.0

libxml-ruby
3.2.0

rexml
3.1.9

etc
1.1.0

psych
3.1.0

mutex_m
0.1.0

webrick
1.4.2

fastlane-plugin-changelog
0.15.0

generated on: 2020-06-06

Strangely everything seems to be working now, so I will chalk this one up to a temporary itunes / api issue.

Hm, now it's not working today. Is there any way to ensure this will behave more consistently?

I also having this problem.

same here

Same problem. Yesterday, I've tried to publish changelogs for the first time but they weren't applied.

I'm having the same issue.

For everyone having issues, I’ve noticed it usually takes a few mins to show up now. If you wait 30 mins does it still not show up?

      upload_to_testflight(         localized_build_info: {           'zh-Hant': {             whats_new: changelog,           }         }       )
what works for me.


fix LockTimeoutSuite

What problem does this PR solve?
LockTimeoutSuite stucks
What is changed and how it works?
stop retry commit primary key in LockTimeoutSuite
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change
Has persistent data change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to update the tidb-ansible repository
Need to be included in the release note

/run-all-tests tikv=v4.0.5 tidb=v4.0.5 pd=v4.0.5

/run-all-tests tikv=v4.0.5 tidb=v4.0.5 pd=v4.0.5

/run-cherry-picker


Saving a file gets stuck on the formatter in VSCodium

Any modifications made to Makefile.toml (used by cargo-make, see file here) make the formatter get stuck with the following prompt: https://ibb.co/BtKdZrF.
I do also have Better TOML (installed but disabled, tried uninstalling it as well and it did not make any difference) and Prettier but I don't think those would cause any issues. Formatting is done on save.
After a while, it does throw the following error:
/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/server.js:81
    throw up;
    ^

RuntimeError: unreachable
    at <anonymous>:wasm-function[3277]:0x38cb10
    at <anonymous>:wasm-function[332]:0x212586
    at <anonymous>:wasm-function[1771]:0x35f6dd
    at <anonymous>:wasm-function[1486]:0x345aff
    at <anonymous>:wasm-function[264]:0x1d9591
    at <anonymous>:wasm-function[102]:0xc751b
    at <anonymous>:wasm-function[3117]:0x38c268
    at <anonymous>:wasm-function[99]:0xbab2f
    at <anonymous>:wasm-function[3120]:0x38c28c
    at <anonymous>:wasm-function[1352]:0x336a30
[Info  - 16:56:35] Connection to server got closed. Server will restart.
[Error - 16:56:35] Request textDocument/completion failed.
Error: Connection got disposed.
	at Object.dispose (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:5570:27)
	at Object.dispose (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:11022:35)
	at LanguageClient.handleConnectionClosed (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:13372:42)
	at LanguageClient.handleConnectionClosed (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:16276:15)
	at closeHandler (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:13359:18)
	at CallbackList.invoke (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:3569:39)
	at Emitter.fire (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:3631:36)
	at closeHandler (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:4783:26)
	at CallbackList.invoke (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:3569:39)
	at Emitter.fire (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:3631:36)
	at IPCMessageReader.fireClose (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:3780:27)
	at ChildProcess.<anonymous> (/home/user/.vscode-oss/extensions/tamasfe.even-better-toml-0.14.2/dist/extension.js:5720:45)
	at ChildProcess.emit (events.js:327:22)
	at maybeClose (internal/child_process.js:1048:16)
	at Socket.<anonymous> (internal/child_process.js:439:11)
	at Socket.emit (events.js:315:20)

Thanks for the report, the image link doesn't point to any images.

After a while, it does throw the following error:

The error you're getting is a long-standing issue probably due to an unfinished feature, it is annoying but it should be harmless.
I cannot reproduce the issue with the same file, manually formatting it and even enabling autoformat works.
Does manually formatting it cause the same issue, and does it always hang?

Thanks for the report, the image link doesn't point to any images.

Whoops, fixed that.

I cannot reproduce the issue with the same file, manually formatting it and even enabling autoformat works.
Does manually formatting it cause the same issue, and does it always hang?

Yes. It seems I was ruling out one other variable from my testing, I am using VSCodium, not VSCode itself. It's weird that it would break when all VSCodium does is take the raw VSCode repo and add a few scripts while building to disable telemetry, but I guess Microsoft could also be packing some extra features into VSCode in its build process.
That being said it would seem like momentarily installing VSCode fixed the issue(?). I'm not sure, really, but it seems to be working now (Or at least formatting code). Don't know how it'll behave in the long run.

VSCodium does is take the raw VSCode repo and add a few scripts while building to disable telemetry

I can't think of any specific reason for incompatibility other than different versions with probably breaking extension API changes (?), the same package is pushed to open-vsx so the extensions should be identical as well, the cause can be anything really.
One thing worth checking if you have the time is the dev console (crtl+shift+I or Toggle Developer Tools under Help) to see if it contains anything useful. Otherwise I'd leave this open and I'll hopefully come back to it at some point.

Left is VSCodium, right is VSCode. Something is going wrong on the Codium side of things.

Quite weird, I will have to look deeper into whatever is going on in VSCodium.

Actually, I might have some idea. The schemas on VSCode currently don't work due to letsencrypt's certificate expiration, that's why you're only getting syntax errors there.
Can you see if disabling schemas helps in VSCodium by disabling them via "evenBetterToml.schema.enabled": false? If it's a schema (performance) issue, it's quite unfortunate as I'm planning to rewrite how schemas are handled altogether and it seems to be quite a bit of work.

Can you see if disabling schemas helps in VSCodium by disabling them via "evenBetterToml.schema.enabled": false? If it's a schema (performance) issue, it's quite unfortunate as I'm planning to rewrite how schemas are handled altogether and it seems to be quite a bit of work.

Added it to the workspace config, restarted the app and sure enough it worked. :+1:

Great, this is basically #136 then judging by the performance issue probably due to a large or complex schema.
Instead of disabling all schemas, you can just set an empty (or any invalid) association for Makefile.toml:
"evenBetterToml.schema.associations": {
    "^(.*(/|\\\\)Makefile\\.toml|Makefile\\.toml)$": ""
}

You will still have validation and completion for other files (Cargo.toml for example), unless they all have this issue.


Fixed error message

fixes https://github.com/Comcast/comcast-bascule/issues/7

Codecov Report

Merging #12 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #12   +/-   ##
======================================
  Coverage    6.04%   6.04%
======================================
  Files           8       8
  Lines         298     298
======================================
  Hits           18      18
  Misses        280     280

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46dfbcc...c6c851c. Read the comment docs.


HDDS-9897. Option to enable Ratis in SCM.

What changes were proposed in this pull request?
Currently, we don't have any steps/ways to enable SCM HA on a Non-HA setup. This is because ozone.scm.ratis.enable cannot be modified once the cluster is initialized (HDDS-6695).
We have to initialize Ratis (once the upgrade is finalized) as part of scm --init command to support enabling of SCM HA in a Non-HA cluster.
After this change, once the cluster is upgraded running scm --init will enable and initialize Ratis in a Non-HA (non Ratis) setup.
What is the link to the Apache JIRA
HDDS-9879

How was this patch tested?
An additional unit test is added to verify the new behavior.

@adoroszlai  @errose28 can you guys take a look at this? Without this change, we cannot enable SCM HA on a non-HA SCM cluster.

Thanks @adoroszlai  for the review.
I will fix the doc and update the PR. Created HDDS-9949 for adding acceptance tests.

@adoroszlai, updated the doc.
Migrating from existing SCM is already present in SCM-HA.md.

Thanks @nandakumar131 for the improvement.


[BUG]

Describe the bug
A short description of the bug.
To reproduce
Steps to reproduce the behavior and/or a minimal code sample.
Expected behavior
A description of what you expected to happen.
Additional information
Any additional information that is relevant to the problem.

seii.88


Variable.backward causes an error when composing F.tile, F.sigmoid_cross_entropy, and F.sum.

An error occurs when we compose F.tile, F.sigmoid_cross_entropy (with reduce=no), and F.sum and do Variable.backward to the output variable.

Target version: 3.2.0<= v <=master

Code to reproduce
import chainer
from chainer import functions as F
import numpy as np

chainer.print_runtime_info()

y = chainer.Variable(np.random.standard_normal((12, 10)).astype(np.float32))
t = chainer.Variable(np.random.standard_normal((12, 1)).astype(np.int32))
size = 10

t = F.tile(t, (1, size))
loss = F.sigmoid_cross_entropy(y, t, reduce="no")
loss = F.sum(loss)
loss.backward()

Log
Chainer: 5.0.0b1
NumPy: 1.11.3
CuPy: Not Available
Traceback (most recent call last):
  File "test.py", line 14, in <module>
    loss.backward()
  File "/home/delta/dev/chainer/chainer/variable.py", line 966, in backward
    self._backward_main(retain_grad, loss_scale)
  File "/home/delta/dev/chainer/chainer/variable.py", line 1095, in _backward_main
    target_input_indexes, out_grad, in_grad)
  File "/home/delta/dev/chainer/chainer/function_node.py", line 548, in backward_accumulate
    gxs = self.backward(target_input_indexes, grad_outputs)
  File "/home/delta/dev/chainer/chainer/functions/array/tile.py", line 50, in backward
    for i in range(gy.ndim):
  File "/home/delta/dev/chainer/chainer/variable.py", line 703, in ndim
    return self.data.ndim
AttributeError: 'NoneType' object has no attribute 'ndim'

The error did not occur if we change in either way:

Remove F.tile.
Remove F.sum and change reduce option of F.sigmoid_cross_entropy to mean.

I did git bisect and found that the first bad commit was #3705. So, I suspect F.sigmoid_cross_entropy.

It seems backward of F.sigmoid_cross_entropy returns Variable(None) for the gradient of t, which should be None.
y = chainer.Variable(np.random.standard_normal((12, 10)).astype(np.float32))
t = chainer.Variable(np.random.standard_normal((12, 10)).astype(np.int32))

loss = F.sigmoid_cross_entropy(y, t, reduce="no")
loss = F.sum(loss)
print(chainer.grad([loss], [t]))  # => Variable(None)

It seems backward of F.sigmoid_cross_entropy returns Variable(None) for the gradient of t, which should be None.
y = chainer.Variable(np.random.standard_normal((12, 10)).astype(np.float32))
t = chainer.Variable(np.random.standard_normal((12, 10)).astype(np.int32))

loss = F.sigmoid_cross_entropy(y, t, reduce="no")
loss = F.sum(loss)
print(chainer.grad([loss], [t]))  # => [Variable(None)]


Nullability annotations not recognized by the plugin

Hi,
The grammar I wrote annotates parameters passed to nodes with Javax Nullability annotations to allow other developers to know the expectation for that param. Though the parser works fine, the IntelliJ plugin shows an error near the annotation and fails to parse rest of the grammar. Can support for Nullability annotations be added in this plugin?
void someNode(@Nullable String someString): {}
{
  // grammar
}

Thanks

Thanks for the report, I'll try to work on that this week

Thanks. I would be happy to help. Let me know if I can help.
On Sun, Aug 9, 2020 at 11:21 PM Clément Fournier<EMAIL_ADDRESS>wrote:

Thanks for the report, I'll try to work on that this week
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oowekyala/intellij-javacc/issues/16#issuecomment-671182779,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANCQNCWZVEEFSMXFVMKSFTR76GVHANCNFSM4PZOH7YQ
.

I appreciate the thought! But the project is a real hassle to setup inside an IDE for now as it uses a non-standard module organization... I think, it's not worth your time setting it up until this is refactored to be more straightforward

This is supported in version 1.7, soon to be released


Watcher tests

[x] typed useCwa for better TS DX
[x] moved watcher logic into methods, covered them with tests, covered watchers meta with tests
[x] moved watcher inside mounted hook for ComponentGroup

@silverbackdan I have moved logic from ComponentGroup into separate class, maybe it will work for you. If yes, I will adjust tests

Brill, thank you, yes please.

Thank you :) I do not think the group synchroniser needs to be accessible via the CWA class and can be standalone. Perhaps we can add a utils folder inside the api folder to hold this class? It is not something that any other component needs access to, but having it within the ComponentGroup component is messy and results in complex logic within a single file. Thoughts on the architecture and where the code could be based and structured is welcome.

Other than this, is there anything else you wanted to do before I review for merge?

I don't think the synchroniser should be included in the CWA class

I don't think the synchroniser should be included in the CWA class

ok, but since it relies on some of CWA class inner instances we need to use composable in order to have access to these things inside synchroniser class

something like this:
export const useSynchronizer = () => {
  const { auth, resources, resourcesManager } = useCwa()

  return new GroupSynchronizer(resourcesManager, resources, auth)
}

and then in component:
useSynchronizer().sync(
    resource,
    props.location,
    fullReference,
    props.allowedComponents
  )

I think that looks OK.. what do you think?
ASlso I think the function name sync is perhaps misleading as we are creating a watcher... we may also need to stop the watcher before unmount?

we do stop in unmount hook (this logic is present in PR already)
so, I will rename method to watch then, is it ok for you?

I think createSyncWatcher :)

done ;)

Thanks!


Developer Portal Password Change UI Improvements

Description
Following improvements should be done on the UI of Developer portal password change feature.

Developer portal's password change feature should be displayed after passwordChangeEnabled setting.
New Password should be validated against configured regex.

Related Issues:
The rest api resources are requested with the issue: https://github.com/wso2/product-apim/issues/8500
Suggested Labels:
React-UI
Suggested Assignees:
@Chathuranga95

The PR: https://github.com/wso2/carbon-apimgt/pull/8942 checks password change enabled setting from the store settings api and display the password change components accordingly

The PR: https://github.com/wso2/carbon-apimgt/pull/8959 validates the password on the UI.


Payload length being smaller then sent

So i sent a payload with a size around 5000 bytes when when i printed that length in a subscriber esp32 it showed the length being around 1400 or 700 bytes. this is the same issue i had with asyncmqttclient and in a couple of the issues this library was stated to have fixed this, yet the same still happens. is there something i need to do first in order to send payloads that size?

You can also find a code sample in the documentation: https://www.emelis.net/espMqttClient/#code-samples

Chunked sending is only needed when the message is too big to fit in memory.
Receiving large packets will always be chunked as this depends on TCP (MTU actually) and is probably about 1500 bytes.

alright so it works but its basically the same as pubsubclient to me now with its speed. after using it it became really slow.

The underlying TCP library is probably the same. You can tinker with tasks and priority but the ESP32, although very capable, is still a microcontroller with its limitations.
This library isn't faster than pubsubclient but it has more features.

Yea I see that, it's also more updated so I will definitely continue using it over others for other projects, but I'll probably have to find a different solution to this issue. Thanks a lot though 🙏

Good luck finding a solution!


Calling a curried constructor results in an error

When calling a curried constructor like so:
class SomeClass [a:int b:int] {
  // some code
}

let one = SomeClass(1)
let classInstace = one(4)

it will cause this error at runtime:
Traceback (most recent call last):
  File "n.py", line 84, in <module>
  File "asyncio\base_events.py", line 642, in run_until_complete
  File "n.py", line 56, in parse_tree
  File "scope.py", line 692, in eval_command
  File "scope.py", line 660, in eval_command
  File "scope.py", line 701, in eval_command
  File "scope.py", line 602, in eval_expr
  File "scope.py", line 623, in eval_expr
  File "scope.py", line 602, in eval_expr
  File "scope.py", line 496, in eval_expr
  File "scope.py", line 548, in eval_expr
  File "scope.py", line 602, in eval_expr
  File "scope.py", line 497, in eval_expr
  File "scope.py", line 619, in eval_expr
TypeError: 'NConstructor' object is not subscriptable

This appears to happen when an inbuilt function is called with the instance made with the curried contructor.

It appears that upon currying a constructor, something with the typing changes as it is curried incorrectly.


Bloodhound doesn't escape brackets from query.

I'm using typeahead.bundle.js, and encountered issue when typed bracktes "[" or "(", then regex fails e.g. in first example on examples:
Uncaught SyntaxError: Invalid regular expression: /[/: Unterminated character class
In my case I've similar errors on server side when querying mongodb by regex. I want to disable sending brackets in queryTokenizer() but it doesn't apply new string it is a bug?
var bloo_tags = new Bloodhound({
  datumTokenizer: Bloodhound.tokenizers.whitespace('text'),
  queryTokenizer: function(query) {
    query = query.replace(/([.?*+^$[\]\\(){}|-])/g, "");
    Bloodhound.tokenizers.whitespace(query);
  },
  remote: '/tags/%QUERY.json'
});

Looks like is a bug in the example code, not typeahead.js. The first example uses an ad-hoc source, not a bloodhound instance. If you play with the other examples, you'll notice this bug doesn't exist.


404 error. Has the URL changed?  //mozilla.github.io/pdf.js/build/pdf.worker.js

Attach (recommended) or Link to PDF file here:
You example that is not working but was 2 weeks ago.
https://jsfiddle.net/pdfjs/wagvs9Lf/
//mozilla.github.io/pdf.js/build/pdf.worker.js (404 error)
Steps to reproduce the problem:

Run the example
https://jsfiddle.net/pdfjs/wagvs9Lf/

What went wrong? (add screenshot)
console log error: "64:10 Uncaught TypeError: Cannot read properties of undefined (reading 'GlobalWorkerOptions')"

Facing the very same issue.
I spotted that main file (src/pdf.js) had a push yesterday and the file extensions were changed to .mjs , however I don't know how to cope with such situation.
I guess new way of importing is required

This affects https://mozilla.github.io/pdf.js/examples/#interactive-examples but unfortunately I don't know how to update those.

This affects https://mozilla.github.io/pdf.js/examples/#interactive-examples but unfortunately I don't know how to update those examples (since I don't have access to the JSFiddle account).

What was the reason for changing it into mjs extension?

we are having troubles due to this too, we have a pretty critical dependency on this library in older versions of our product. Is there a proposed solution or workaround? We would prefer if it got fixed without us having to change the URL.

Hey Luc, just wondering - why do you care about the script URL? It's available under the https://mozilla.github.io/pdf.js/build/pdf.worker.mjs instead of https://mozilla.github.io/pdf.js/build/pdf.worker.js
For me the issue is initialization of library on the window object:
var pdfjsLib = window['pdfjs-dist/build/pdf'];

https://mozilla.github.io/pdf.js/build/

Thanks for your reply @MangoFreak. The reason we need this is because we have older versions of our application that are still in use, and retrieve the pdf.js library via that specific URL
so it would be great if that starts working again so we don't need to force our users to upgrade the version to the newest release where we change it.
The URL we retrieve the library from is https://mozilla.github.io/pdf.js/build/pdf.js

We're also facing the same issue as @justlucdewit . Getting 404 while accessing###  https://mozilla.github.io/pdf.js/build/pdf.js

https://mozilla.github.io/pdf.js/build/

Thanks for your reply @MangoFreak. The reason we need this is because we have older versions of our application that are still in use, and retrieve the pdf.js library via that specific URL
so it would be great if that starts working again so we don't need to force our users to upgrade the version to the newest release where we change it.
The URL we retrieve the library from is https://mozilla.github.io/pdf.js/build/pdf.js

Yes I agree with you. We are also having trouble previewing PDFs with our applications using that URL returning 404 and some of the library’s dependencies we use, is using that URL.

Could you guys please share how you initialized the whole library?
I'm using dist package, which became unavailable

any updates please?

we have a pretty critical dependency on this library in older versions of our product.

Please note that files found under https://mozilla.github.io/pdf.js/build/ are development snapshots[1], which are potentially updated multiple times per day, that were never intended to be used in a production environment or as a CDN.
The fact that this has "worked" up until now can probably be attributed to nothing more than pure luck, and you really should be using official releases in production environments; please refer to:

https://mozilla.github.io/pdf.js/getting_started/#download
https://github.com/mozilla/pdf.js/releases
https://www.npmjs.com/package/pdfjs-dist

Is there a proposed solution or workaround?

Yes, please use official releases instead; note the links just above.

We would prefer if it got fixed without us having to change the URL.

That's really not possible, since after PR #17055 we're building JavaScript modules and the file-extensions were updated to reflect that. Hence you'll need to make additional changes to your code, in addition to just updating the URLs.

i have same issue. please help me.  Cannot read properties of undefined (reading 'GlobalWorkerOptions')"

As a workaround I used this CDN.
<EMAIL_ADDRESS>I am still testing it since we use it only for previewing pdf files.

We're also facing the same issue
"Cannot read properties of undefined (reading 'GlobalWorkerOptions')"
and Getting 404 while accessing https://mozilla.github.io/pdf.js/build/pdf.js
Please update the thread if it is resolved.

@amar-1999 i had the same issue as you, apparently you should not be using that URL to get the library since

they took it offline
its a development build and thus not suitable for production

use a proper CDN instead, I chose for this (open this site and you will see what URLS you can use) -> https://cdnjs.com/libraries/pdf.js/2.6.347

@amar-1999Saya memiliki masalah yang sama dengan Anda, tampaknya Anda tidak boleh menggunakan URL itu untuk mendapatkan perpustakaan sejak saat itu

mereka mengambilnya secara offline
ini adalah bangunan pengembangan dan karenanya tidak cocok untuk produksi

gunakan CDN yang tepat sebagai gantinya, saya memilih untuk ini (buka situs ini dan Anda akan melihat URL apa yang dapat Anda gunakan) -> https://cdnjs.com/libraries/pdf.js/2.6.347

Terimakasih, kode saya berhasil dengan CDN

The "Interactive examples" have now been updated, see https://mozilla.github.io/pdf.js/examples/#interactive-examples, to account for changes in the upcoming version 4 of the PDF.js library.
However, as was mentioned in https://github.com/mozilla/pdf.js/issues/17092#issuecomment-1752881489 you should always use the official releases and NOT link directly to code found at e.g. https://mozilla.github.io/pdf.js/.