Change:
The label(s) cannot be applied. These labels are supported: <detailsIn response to : This one is trying to use with a generator to create an rc. This was deprecated and now is removed, so the test is failing now. /label sig/undefined Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details
/label failing-test
The label(s) cannot be applied. These labels are supported: <detailsIn response to : /label failing-test Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details
/kind failing-test
At first I thought this was because generators were removed from . That still might be the cause of this, but I'm not 100% sure off-hand.
/sig cli
/assign
Funny thing about this is if you look in the build logs it is not immediately obvious that it is caused by generators being removed from because actually has sort of an unexpected behavior, where it tells you it is deprecated and gives you a pod instead... For example: Output:
/reopen should fix this is one of the affected jobs
Reopened this issue. <detailsIn response to : /reopen should fix this Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details
Since it's been a few weeks, I wanted to provide an update on this. I'm still waiting to confirm this is resolved by It looks like it is still running the old tests not marked as . Since 1.17.9 was released 14 days ago, and k8s-ci-robot only merged the PR 13 days ago, I'm guessing we need to wait until there is a 1.17.10 to see it skip the deprecated tests.
Issues go stale after 90d of inactivity. Mark the issue as fresh with . Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle stale
Stale issues rot after 30d of inactivity. Mark the issue as fresh with . Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with . Send feedback to sig-testing, kubernetes/test-infra and/or . /lifecycle rotten
Rotten issues close after 30d of inactivity. Reopen the issue with . Mark the issue as fresh with . Send feedback to sig-testing, kubernetes/test-infra and/or . /close
Closing this issue. <detailsIn response to : Rotten issues close after 30d of inactivity. Reopen the issue with . Mark the issue as fresh with . /close Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details

Discussion:
resyncCh, cleanup := r.resyncChan() defer cleanup() <del> options := unversioned.ListOptions{} </del> <ins> // Explicitly set "0" as resource version - it's fine for the List() // to be served from cache and potentially be delayed relative to // etcd contents. Reflector framework will catch up via Watch() eventually. options := unversioned.ListOptions{ResourceVersion: "0"} </ins> list, err := r.listerWatcher.List(options) if err != nil { return fmt.Errorf("%s: Failed to list %v: %v", r.name, r.expectedType, err)

// An underlying storage.Versioner. Versioner Versioner <del> // Whether to serve Lists from in-memory cache. // // NOTE: DO NOT SET TO TRUE IN PRODUCTION CODE! ListFromCache bool </del> // The Cache will be caching objects of a given Type and assumes that they // are all stored under ResourcePrefix directory in the underlying database. Type           interface{}

// keyFunc is used to get a key in the underyling storage for a given object. keyFunc func(runtime.Object) (string, error) <del> // Whether to serve Lists from in-memory cache. // // NOTE: DO NOT SET TO TRUE IN PRODUCTION CODE! ListFromCache bool </del> } // Create a new Cacher responsible from service WATCH and LIST requests from its

listerWatcher := newCacherListerWatcher(config.Storage, config.ResourcePrefix, config.NewListFunc) cacher := &Cacher{ <del> usable:        sync.RWMutex{}, storage:       config.Storage, watchCache:    watchCache, reflector:     cache.NewReflector(listerWatcher, config.Type, watchCache, 0), watcherIdx:    0, watchers:      make(map[int]*cacheWatcher), versioner:     config.Versioner, keyFunc:       config.KeyFunc, ListFromCache: config.ListFromCache, </del> <ins> usable:     sync.RWMutex{}, storage:    config.Storage, watchCache: watchCache, reflector:  cache.NewReflector(listerWatcher, config.Type, watchCache, 0), watcherIdx: 0, watchers:   make(map[int]*cacheWatcher), versioner:  config.Versioner, keyFunc:    config.KeyFunc, </ins> } cacher.usable.Lock() // See startCaching method for why explanation on it.

// Implements storage.Interface. func (c *Cacher) List(ctx context.Context, key string, resourceVersion string, filter FilterFunc, listObj runtime.Object) error { <del> if !c.ListFromCache { </del> <ins> if resourceVersion == "" { // If resourceVersion is not specified, serve it from underlying // storage (for backward compatibility). </ins> return c.storage.List(ctx, key, resourceVersion, filter, listObj) } <ins> // If resourceVersion is specified, serve it from cache. // It's guaranteed that the returned value is at least that // fresh as the given resourceVersion. </ins> listRV, err := ParseListResourceVersion(resourceVersion) if err != nil { return err

CacheCapacity:  10, Storage:        s, Versioner:      etcdstorage.APIObjectVersioner{}, <del> ListFromCache:  true, </del> Type:           &api.Pod{}, ResourcePrefix: prefix, KeyFunc:        func(obj runtime.Object) (string, error) { return storage.NamespaceKeyFunc(prefix, obj) },

expectNoError(ScaleRC(config.Client, config.Namespace, config.Name, newSize, true), fmt.Sprintf("scaling rc %s for the first time", config.Name)) selector := labels.SelectorFromSet(labels.Set(map[string]string{"name": config.Name})) <del> options := unversioned.ListOptions{LabelSelector: unversioned.LabelSelector{selector}} </del> <ins> options := unversioned.ListOptions{ LabelSelector:   unversioned.LabelSelector{selector}, ResourceVersion: "0", } </ins> _, err := config.Client.Pods(config.Namespace).List(options) expectNoError(err, fmt.Sprintf("listing pods from rc %v", config.Name)) }